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.001362/0.001362, allocations: 77.7 kB / 21.25 MB, free: 0.5469 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.001486/0.001486, allocations: 161.3 kB / 24.5 MB, free: 3.711 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.482/1.482, allocations: 177.1 MB / 204.7 MB, free: 8.934 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.213/0.213, allocations: 34.25 MB / 295.4 MB, free: 14.45 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 0.002462/0.002462, allocations: 83.86 kB / 443.1 MB, free: 6.449 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3169/0.3194, allocations: 66.06 MB / 0.4973 GB, free: 29.98 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.007718/0.3271, allocations: 6.809 MB / 0.5039 GB, free: 25.43 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004431/0.3316, allocations: 2.295 MB / 0.5062 GB, free: 23.87 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000915/0.3325, allocations: 30.72 kB / 0.5062 GB, free: 23.87 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004018/0.3365, allocations: 1.778 MB / 0.5079 GB, free: 22.86 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002534/0.339, allocations: 0.7013 MB / 0.5086 GB, free: 22.4 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002361/0.3414, allocations: 1.037 MB / 0.5096 GB, free: 21.82 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001799/0.3432, allocations: 1.412 MB / 0.511 GB, free: 21.1 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001232/0.3444, allocations: 0.9143 MB / 0.5119 GB, free: 20.57 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006878/0.3451, allocations: 0.6177 MB / 0.5125 GB, free: 20.29 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007064/0.3458, allocations: 0.647 MB / 0.5131 GB, free: 20 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002066/0.346, allocations: 113.8 kB / 0.5132 GB, free: 20 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007653/0.3468, allocations: 322.8 kB / 0.5136 GB, free: 19.93 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001921/0.347, allocations: 299.7 kB / 0.5138 GB, free: 19.73 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004941/0.3475, allocations: 0.5313 MB / 0.5144 GB, free: 19.43 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00217/0.3496, allocations: 1.789 MB / 0.5161 GB, free: 18.68 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.3496, allocations: 1.594 kB / 0.5161 GB, free: 18.68 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.175e-06/0.3496, allocations: 0.5156 kB / 0.5161 GB, free: 18.68 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.075e-05/0.3497, allocations: 0 / 0.5161 GB, free: 18.68 MB / 446.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.008044/0.3577, allocations: 2.34 MB / 0.5184 GB, free: 17.59 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.3578, allocations: 9.531 kB / 0.5184 GB, free: 17.59 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01045/0.3682, allocations: 1.331 MB / 0.5197 GB, free: 17.36 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001714/0.3699, allocations: 0.5571 MB / 0.5202 GB, free: 16.95 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.942e-05/0.37, allocations: 100.6 kB / 0.5203 GB, free: 16.9 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002096/0.3702, allocations: 130.4 kB / 0.5205 GB, free: 16.86 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002648/0.3729, allocations: 1.595 MB / 0.522 GB, free: 16.06 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.238e-05/0.3729, allocations: 6.297 kB / 0.522 GB, free: 16.06 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001241/0.373, allocations: 55.62 kB / 0.5221 GB, free: 16.02 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.246e-05/0.3731, allocations: 37.55 kB / 0.5221 GB, free: 16.01 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002571/0.3756, allocations: 1.507 MB / 0.5236 GB, free: 15.48 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007424/0.3831, allocations: 4.283 MB / 0.5278 GB, free: 12.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002021/0.3851, allocations: 1.07 MB / 0.5288 GB, free: 12.3 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009415/0.386, allocations: 0.5497 MB / 0.5294 GB, free: 12.06 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000139/0.3862, allocations: 40.45 kB / 0.5294 GB, free: 12.05 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.3862, allocations: 46.06 kB / 0.5294 GB, free: 12 MB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 3.627e-06/0.3862, allocations: 0 / 0.5294 GB, free: 12 MB / 446.1 MB Notification: Performance of matching and sorting (n=127): time 0.009347/0.3955, allocations: 2.994 MB / 0.5324 GB, free: 11.12 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.341e-05/0.3956, allocations: 90.48 kB / 0.5324 GB, free: 11.03 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006195/0.3962, allocations: 419.2 kB / 0.5328 GB, free: 10.81 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001097/0.3963, allocations: 46.52 kB / 0.5329 GB, free: 10.77 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002741/0.3966, allocations: 492.3 kB / 0.5334 GB, free: 10.38 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003214/0.3969, allocations: 442.1 kB / 0.5338 GB, free: 10.03 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003736/0.3973, allocations: 218.3 kB / 0.534 GB, free: 9.922 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.3974, allocations: 383.9 kB / 0.5344 GB, free: 9.574 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008618/0.3982, allocations: 456.8 kB / 0.5348 GB, free: 9.395 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001039/0.3993, allocations: 0.6992 MB / 0.5355 GB, free: 8.934 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00182/0.4011, allocations: 1.202 MB / 0.5366 GB, free: 8.176 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.758e-06/0.4011, allocations: 3.094 kB / 0.5367 GB, free: 8.176 MB / 446.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.002978/0.4041, allocations: 1.575 MB / 0.5382 GB, free: 7.477 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/0.4041, allocations: 12.36 kB / 0.5382 GB, free: 7.473 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.254e-05/0.4041, allocations: 6.844 kB / 0.5382 GB, free: 7.473 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001572/0.4057, allocations: 0.5297 MB / 0.5387 GB, free: 7.305 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007965/0.4065, allocations: 194.7 kB / 0.5389 GB, free: 7.289 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002104/0.4067, allocations: 55.62 kB / 0.539 GB, free: 7.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007931/0.4075, allocations: 114.8 kB / 0.5391 GB, free: 7.191 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001139/0.4076, allocations: 56.27 kB / 0.5391 GB, free: 7.176 MB / 446.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.0004651/0.4081, allocations: 265.8 kB / 0.5394 GB, free: 6.961 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002069/0.4083, allocations: 81.11 kB / 0.5395 GB, free: 6.918 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002763/0.4111, allocations: 1.543 MB / 0.541 GB, free: 6.199 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.031e-05/0.4111, allocations: 13.69 kB / 0.541 GB, free: 6.199 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.338e-06/0.4111, allocations: 4.906 kB / 0.541 GB, free: 6.195 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.915e-05/0.4111, allocations: 6.375 kB / 0.541 GB, free: 6.195 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004262/0.4154, allocations: 2.488 MB / 0.5434 GB, free: 4.719 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.712e-06/0.4154, allocations: 4 kB / 0.5434 GB, free: 4.715 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006497/0.416, allocations: 141.9 kB / 0.5436 GB, free: 4.684 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00139/0.4174, allocations: 0.5296 MB / 0.5441 GB, free: 4.414 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.978e-05/0.4175, allocations: 27.58 kB / 0.5441 GB, free: 4.395 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003103/0.4178, allocations: 66.11 kB / 0.5442 GB, free: 4.363 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.4178, allocations: 0 / 0.5442 GB, free: 4.363 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003553/0.4214, allocations: 2.315 MB / 0.5464 GB, free: 2.652 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004432/0.4218, allocations: 203 kB / 0.5466 GB, free: 2.453 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001343/0.4219, allocations: 24 kB / 0.5466 GB, free: 2.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006432/0.4226, allocations: 48.03 kB / 0.5467 GB, free: 2.383 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001476/0.4227, allocations: 85.09 kB / 0.5468 GB, free: 2.301 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.064e-05/0.4228, allocations: 35.94 kB / 0.5468 GB, free: 2.266 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002527/0.4231, allocations: 271.1 kB / 0.5471 GB, free: 2 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4231, allocations: 0 / 0.5471 GB, free: 2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000978/0.424, allocations: 355.2 kB / 0.5474 GB, free: 1.652 MB / 446.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.0002535/0.4243, allocations: 163 kB / 0.5476 GB, free: 1.48 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002556/0.4268, allocations: 1.281 MB / 0.5488 GB, free: 208 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.4268, allocations: 64 / 0.5488 GB, free: 208 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001764/0.4286, allocations: 0.6879 MB / 0.5495 GB, free: 15.52 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007161/0.4293, allocations: 89.94 kB / 0.5496 GB, free: 15.43 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004062/0.4334, allocations: 2.086 MB / 0.5516 GB, free: 13.31 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005485/0.4339, allocations: 454.3 kB / 0.552 GB, free: 12.83 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004507/0.4344, allocations: 110.4 kB / 0.5521 GB, free: 12.71 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000202/0.4346, allocations: 68.48 kB / 0.5522 GB, free: 12.65 MB / 462.1 MB Notification: Performance of SimCode: time 7.62e-07/0.4346, allocations: 0 / 0.5522 GB, free: 12.65 MB / 462.1 MB Notification: Performance of Templates: time 0.02436/0.459, allocations: 12.28 MB / 0.5642 GB, free: 496 kB / 462.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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/Ideal/Ideal.csv","/var/lib/jenkins1/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.655228402931243]