Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.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.001423/0.001423, allocations: 84.25 kB / 20.68 MB, free: 1.039 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.001499/0.001499, allocations: 158.4 kB / 23.95 MB, free: 4.168 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.48/1.48, allocations: 177 MB / 204.1 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2236/0.2236, allocations: 34.26 MB / 294.8 MB, free: 14.55 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 442.6 MB, free: 5.32 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.642e-05/2.81e-05, allocations: 2.281 kB / 442.6 MB, free: 5.316 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.2094/0.2095, allocations: 6.819 MB / 449.5 MB, free: 15.24 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004437/0.2139, allocations: 2.293 MB / 451.8 MB, free: 14.94 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006616/0.2145, allocations: 29.69 kB / 451.8 MB, free: 14.94 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004269/0.2188, allocations: 1.781 MB / 453.6 MB, free: 13.94 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002247/0.2211, allocations: 0.7271 MB / 454.3 MB, free: 13.46 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002363/0.2234, allocations: 1.041 MB / 455.3 MB, free: 12.89 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001914/0.2253, allocations: 1.459 MB / 456.8 MB, free: 12.14 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001553/0.2269, allocations: 0.9186 MB / 457.7 MB, free: 11.6 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001305/0.2282, allocations: 0.8554 MB / 458.6 MB, free: 11.24 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008333/0.229, allocations: 0.57 MB / 459.1 MB, free: 11.04 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002039/0.2292, allocations: 111.9 kB / 459.3 MB, free: 11.04 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009911/0.2302, allocations: 319.9 kB / 459.6 MB, free: 10.97 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002316/0.2305, allocations: 305 kB / 459.9 MB, free: 10.76 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005734/0.231, allocations: 462.1 kB / 460.3 MB, free: 10.55 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002523/0.2336, allocations: 1.807 MB / 462.1 MB, free: 9.82 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2336, allocations: 0 / 462.1 MB, free: 9.82 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2336, allocations: 1.312 kB / 462.1 MB, free: 9.82 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.469e-05/0.2336, allocations: 0 / 462.1 MB, free: 9.82 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 339 * Number of variables: 339 Notification: Performance of Generate backend data structure: time 0.008264/0.2419, allocations: 2.324 MB / 464.4 MB, free: 8.738 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.2419, allocations: 9.375 kB / 464.5 MB, free: 8.738 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01049/0.2524, allocations: 1.339 MB / 465.8 MB, free: 8.492 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001766/0.2542, allocations: 0.5572 MB / 466.3 MB, free: 8.082 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.699e-05/0.2542, allocations: 101 kB / 466.4 MB, free: 8.035 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002555/0.2545, allocations: 134.2 kB / 466.6 MB, free: 7.988 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002712/0.2572, allocations: 1.594 MB / 468.2 MB, free: 7.199 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.941e-05/0.2573, allocations: 1.5 kB / 468.2 MB, free: 7.199 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001365/0.2574, allocations: 63.56 kB / 468.2 MB, free: 7.148 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-05/0.2574, allocations: 36.67 kB / 468.3 MB, free: 7.145 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002645/0.2601, allocations: 1.499 MB / 469.8 MB, free: 6.621 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00687/0.2669, allocations: 4.275 MB / 474 MB, free: 3.465 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001868/0.2688, allocations: 1.067 MB / 475.1 MB, free: 2.883 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000863/0.2697, allocations: 0.5531 MB / 475.7 MB, free: 2.594 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001257/0.2698, allocations: 36.25 kB / 475.7 MB, free: 2.578 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.2698, allocations: 49.34 kB / 475.7 MB, free: 2.527 MB / 366.1 MB Notification: Performance of pre-optimization done (n=127): time 3.387e-06/0.2698, allocations: 0 / 475.7 MB, free: 2.527 MB / 366.1 MB Notification: Performance of matching and sorting (n=127): time 0.008792/0.2786, allocations: 3.005 MB / 478.8 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.269e-05/0.2787, allocations: 90.36 kB / 478.8 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003734/0.279, allocations: 419.5 kB / 479.3 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.452e-05/0.2791, allocations: 46.86 kB / 479.3 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001607/0.2793, allocations: 483.1 kB / 479.8 MB, free: 84 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003752/0.2796, allocations: 438.8 kB / 480.2 MB, free: 15.7 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003593/0.28, allocations: 219.6 kB / 480.4 MB, free: 15.56 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002137/0.2802, allocations: 373 kB / 480.8 MB, free: 15.2 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00088/0.2811, allocations: 459.6 kB / 481.2 MB, free: 14.98 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001098/0.2822, allocations: 0.6965 MB / 481.9 MB, free: 14.45 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002165/0.2844, allocations: 1.212 MB / 483.1 MB, free: 13.22 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/0.2844, allocations: 4 kB / 483.1 MB, free: 13.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003251/0.2876, allocations: 1.571 MB / 484.7 MB, free: 11.63 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.2876, allocations: 8 kB / 484.7 MB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.575e-05/0.2877, allocations: 8 kB / 484.7 MB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001706/0.2894, allocations: 0.5253 MB / 485.3 MB, free: 11.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008542/0.2902, allocations: 203.6 kB / 485.4 MB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002092/0.2904, allocations: 53.31 kB / 485.5 MB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007721/0.2912, allocations: 123.1 kB / 485.6 MB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001136/0.2913, allocations: 48 kB / 485.7 MB, free: 10.67 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 4 (booleanStep4.y,booleanStep3.y,booleanStep2.y,booleanStep1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(20,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0005044/0.2918, allocations: 269.5 kB / 485.9 MB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001989/0.292, allocations: 79.52 kB / 486 MB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003293/0.2953, allocations: 1.544 MB / 487.6 MB, free: 8.762 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.802e-05/0.2953, allocations: 12 kB / 487.6 MB, free: 8.75 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.2953, allocations: 0 / 487.6 MB, free: 8.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.83e-05/0.2954, allocations: 11.97 kB / 487.6 MB, free: 8.738 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005035/0.3004, allocations: 2.5 MB / 490.1 MB, free: 6.184 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.744e-06/0.3004, allocations: 3.984 kB / 490.1 MB, free: 6.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007099/0.3011, allocations: 139.8 kB / 490.2 MB, free: 6.043 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00162/0.3027, allocations: 0.5194 MB / 490.7 MB, free: 5.523 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.148e-05/0.3028, allocations: 27.98 kB / 490.8 MB, free: 5.496 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003561/0.3032, allocations: 68.8 kB / 490.8 MB, free: 5.426 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.3032, allocations: 0 / 490.8 MB, free: 5.426 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004555/0.3077, allocations: 2.321 MB / 493.2 MB, free: 3.082 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004725/0.3082, allocations: 199.1 kB / 493.3 MB, free: 2.887 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001404/0.3083, allocations: 27.98 kB / 493.4 MB, free: 2.859 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006715/0.309, allocations: 44.05 kB / 493.4 MB, free: 2.816 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002167/0.3092, allocations: 81.16 kB / 493.5 MB, free: 2.738 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.162e-05/0.3093, allocations: 35.98 kB / 493.5 MB, free: 2.703 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003569/0.3097, allocations: 275.1 kB / 493.8 MB, free: 2.441 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3097, allocations: 0 / 493.8 MB, free: 2.441 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001137/0.3108, allocations: 355.2 kB / 494.1 MB, free: 2.094 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * Number of discrete variables: 4 (booleanStep1.y,booleanStep2.y,booleanStep3.y,booleanStep4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(20,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003697/0.3112, allocations: 167 kB / 494.3 MB, free: 1.918 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003153/0.3143, allocations: 1.277 MB / 495.6 MB, free: 0.6445 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.3143, allocations: 0 / 495.6 MB, free: 0.6445 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001889/0.3162, allocations: 0.6808 MB / 496.3 MB, free: 15.96 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007598/0.317, allocations: 99.64 kB / 496.4 MB, free: 15.87 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00411/0.3211, allocations: 2.035 MB / 498.4 MB, free: 13.81 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006265/0.3217, allocations: 450.3 kB / 498.8 MB, free: 13.33 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004497/0.3222, allocations: 106.4 kB / 498.9 MB, free: 13.22 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002555/0.3224, allocations: 68.48 kB / 499 MB, free: 13.15 MB / 398.1 MB Notification: Performance of SimCode: time 1.112e-06/0.3224, allocations: 3.938 kB / 499 MB, free: 13.15 MB / 398.1 MB Notification: Performance of Templates: time 0.03327/0.3557, allocations: 12.22 MB / 0.4993 GB, free: 1.043 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/Ideal/Ideal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.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: 5.635876126587391]