Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001376/0.001376, allocations: 107.6 kB / 21.19 MB, free: 0.6406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001713/0.001713, allocations: 218.8 kB / 24.48 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.445/1.445, allocations: 230.5 MB / 258.1 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|voltageQS.pin_p.reference.gamma|iAC.mean1.y|iAC.mean2.y|iDC2.mean.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|voltageQS.pin_p.reference.gamma|iAC.mean1.y|iAC.mean2.y|iDC2.mean.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 64.05 kB / 379 MB, free: 2.289 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2249/0.2268, allocations: 53.42 MB / 432.4 MB, free: 6.508 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.007755/0.2346, allocations: 5.591 MB / 438 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004377/0.239, allocations: 2.134 MB / 440.1 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005697/0.2395, allocations: 23.88 kB / 440.2 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001904/0.2414, allocations: 0.7033 MB / 440.9 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001555/0.243, allocations: 0.5933 MB / 441.5 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001135/0.2441, allocations: 0.5182 MB / 442 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001447/0.2456, allocations: 1.199 MB / 443.2 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001147/0.2467, allocations: 0.7569 MB / 443.9 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006483/0.2474, allocations: 482.2 kB / 444.4 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006514/0.248, allocations: 485.6 kB / 444.9 MB, free: 9.973 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001598/0.2482, allocations: 112 kB / 445 MB, free: 9.863 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005792/0.2488, allocations: 275.8 kB / 445.2 MB, free: 9.594 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002238/0.249, allocations: 251.1 kB / 445.5 MB, free: 9.348 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00046/0.2494, allocations: 461.8 kB / 445.9 MB, free: 8.895 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001766/0.2512, allocations: 1.49 MB / 447.4 MB, free: 7.398 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.2512, allocations: 4 kB / 447.4 MB, free: 7.395 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2512, allocations: 0 / 447.4 MB, free: 7.395 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.898e-05/0.2512, allocations: 0 / 447.4 MB, free: 7.395 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.00331/0.2545, allocations: 1.666 MB / 449.1 MB, free: 5.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.2546, allocations: 11.98 kB / 449.1 MB, free: 5.668 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002455/0.257, allocations: 395.9 kB / 449.5 MB, free: 5.281 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/0.258, allocations: 0.5289 MB / 450 MB, free: 4.723 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.027e-05/0.2581, allocations: 74.38 kB / 450.1 MB, free: 4.652 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001502/0.2583, allocations: 104.3 kB / 450.2 MB, free: 4.551 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001914/0.2602, allocations: 1.116 MB / 451.3 MB, free: 3.383 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.335e-05/0.2602, allocations: 11.88 kB / 451.3 MB, free: 3.371 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.525e-05/0.2603, allocations: 44 kB / 451.4 MB, free: 3.328 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.565e-05/0.2603, allocations: 24 kB / 451.4 MB, free: 3.305 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001707/0.262, allocations: 0.8432 MB / 452.2 MB, free: 2.461 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005084/0.2671, allocations: 2.972 MB / 455.2 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00192/0.269, allocations: 0.8428 MB / 456.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008919/0.2699, allocations: 408.2 kB / 456.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001002/0.27, allocations: 24.64 kB / 456.5 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009597/0.271, allocations: 0.5894 MB / 457.1 MB, free: 13.45 MB / 366.1 MB Notification: Performance of pre-optimization done (n=84): time 2.585e-06/0.271, allocations: 0 / 457.1 MB, free: 13.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=84): time 0.00452/0.2755, allocations: 1.473 MB / 458.5 MB, free: 11.96 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001309/0.2756, allocations: 196.9 kB / 458.7 MB, free: 11.73 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005918/0.2762, allocations: 465.8 kB / 459.2 MB, free: 11.26 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.812e-05/0.2763, allocations: 45.7 kB / 459.2 MB, free: 11.21 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003486/0.2767, allocations: 432.6 kB / 459.7 MB, free: 10.78 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002445/0.2769, allocations: 289.5 kB / 459.9 MB, free: 10.5 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002498/0.2771, allocations: 162.6 kB / 460.1 MB, free: 10.33 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001939/0.2773, allocations: 374.7 kB / 460.5 MB, free: 9.957 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005732/0.2779, allocations: 261.9 kB / 460.7 MB, free: 9.699 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008242/0.2787, allocations: 0.5879 MB / 461.3 MB, free: 9 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001317/0.2801, allocations: 0.7356 MB / 462 MB, free: 8.191 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.738e-06/0.2801, allocations: 0 / 462 MB, free: 8.191 MB / 366.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002186/0.2822, allocations: 1.01 MB / 463.1 MB, free: 7.168 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.925e-05/0.2823, allocations: 8 kB / 463.1 MB, free: 7.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.062e-05/0.2823, allocations: 11.98 kB / 463.1 MB, free: 7.148 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009193/0.2832, allocations: 269.1 kB / 463.3 MB, free: 6.883 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005758/0.2838, allocations: 143.7 kB / 463.5 MB, free: 6.742 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005873/0.2897, allocations: 4.562 MB / 468 MB, free: 1.992 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006677/0.2903, allocations: 91.48 kB / 468.1 MB, free: 1.902 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.083e-05/0.2904, allocations: 32 kB / 468.2 MB, free: 1.871 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,iDC2.mean.y_last,$PRE.iDC2.mean.y_last,iAC.mean1.y_last,$PRE.iAC.mean1.y_last,iAC.mean2.y_last,$PRE.iAC.mean2.y_last,rectifierAC.idealDiode1.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode4.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,8), (4,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0004485/0.2909, allocations: 246.6 kB / 468.4 MB, free: 1.621 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000126/0.291, allocations: 75.56 kB / 468.5 MB, free: 1.547 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002156/0.2931, allocations: 0.9474 MB / 469.4 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.786e-06/0.2931, allocations: 8 kB / 469.4 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.013e-06/0.2932, allocations: 4 kB / 469.4 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.307e-06/0.2932, allocations: 3.984 kB / 469.4 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003219/0.2964, allocations: 1.652 MB / 471.1 MB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.2964, allocations: 0 / 471.1 MB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004434/0.2968, allocations: 99.91 kB / 471.2 MB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008001/0.2976, allocations: 257.4 kB / 471.4 MB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.578e-05/0.2977, allocations: 23.98 kB / 471.5 MB, free: 14.49 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005692/0.3034, allocations: 4.513 MB / 476 MB, free: 9.777 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.3034, allocations: 0 / 476 MB, free: 9.777 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002757/0.3061, allocations: 1.37 MB / 477.3 MB, free: 8.379 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003564/0.3065, allocations: 139.3 kB / 477.5 MB, free: 8.242 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/0.3066, allocations: 16 kB / 477.5 MB, free: 8.227 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004626/0.3071, allocations: 44.16 kB / 477.5 MB, free: 8.184 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001703/0.3072, allocations: 68.86 kB / 477.6 MB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.458e-05/0.3073, allocations: 39.8 kB / 477.6 MB, free: 8.078 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004186/0.3077, allocations: 314.9 kB / 478 MB, free: 7.773 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3077, allocations: 0 / 478 MB, free: 7.773 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0011/0.3088, allocations: 311.3 kB / 478.3 MB, free: 7.469 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (voltageQS.pin_p.reference.gamma,iDC2.mean.x,iAC.mean2.x,iAC.mean1.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,iDC2.mean.y_last,rectifierAC.idealDiode4.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode1.off,iAC.mean2.y_last,iAC.mean1.y_last) * Number of discrete states: 3 (iAC.mean1.x,iAC.mean2.x,iDC2.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,8), (4,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003143/0.3091, allocations: 163.3 kB / 478.4 MB, free: 7.301 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002183/0.3113, allocations: 1.057 MB / 479.5 MB, free: 6.215 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.3113, allocations: 64 / 479.5 MB, free: 6.215 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001281/0.3126, allocations: 0.7156 MB / 480.2 MB, free: 5.469 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006188/0.3132, allocations: 104.9 kB / 480.3 MB, free: 5.367 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003325/0.3165, allocations: 1.714 MB / 482 MB, free: 3.613 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004649/0.317, allocations: 408.3 kB / 482.4 MB, free: 3.184 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001897/0.3172, allocations: 59.42 kB / 482.5 MB, free: 3.125 MB / 382.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3172, allocations: 0 / 482.5 MB, free: 3.125 MB / 382.1 MB Notification: Performance of Templates: time 0.02443/0.3416, allocations: 18 MB / 0.4887 GB, free: 1.141 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.502991280984133]