Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 73.56 kB / 21.24 MB, free: 0.5547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001516/0.001516, allocations: 158.4 kB / 24.5 MB, free: 3.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.483/1.483, allocations: 177.2 MB / 204.9 MB, free: 9.301 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2086/0.2086, allocations: 32.8 MB / 294.1 MB, free: 184 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002075/0.002075, allocations: 74.23 kB / 440.6 MB, free: 9.457 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.301/0.3031, allocations: 65.44 MB / 0.4941 GB, free: 31.42 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.006776/0.3099, allocations: 6.826 MB / 0.5008 GB, free: 26.85 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003748/0.3136, allocations: 2.29 MB / 0.503 GB, free: 25.3 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005672/0.3142, allocations: 32.12 kB / 0.5031 GB, free: 25.29 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00328/0.3175, allocations: 1.773 MB / 0.5048 GB, free: 24.29 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001736/0.3192, allocations: 0.7056 MB / 0.5055 GB, free: 23.83 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001926/0.3211, allocations: 1.032 MB / 0.5065 GB, free: 23.24 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00129/0.3224, allocations: 1.419 MB / 0.5079 GB, free: 22.53 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009823/0.3234, allocations: 0.9104 MB / 0.5088 GB, free: 22 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000577/0.324, allocations: 0.6184 MB / 0.5094 GB, free: 21.71 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006118/0.3246, allocations: 0.6482 MB / 0.51 GB, free: 21.43 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001315/0.3247, allocations: 111.2 kB / 0.5101 GB, free: 21.43 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005805/0.3253, allocations: 317.6 kB / 0.5104 GB, free: 21.36 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001628/0.3255, allocations: 304.8 kB / 0.5107 GB, free: 21.16 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003657/0.3258, allocations: 0.5336 MB / 0.5112 GB, free: 20.86 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001341/0.3272, allocations: 1.784 MB / 0.513 GB, free: 20.11 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3272, allocations: 0 / 0.513 GB, free: 20.11 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3272, allocations: 2.969 kB / 0.513 GB, free: 20.11 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.427e-05/0.3272, allocations: 0 / 0.513 GB, free: 20.11 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.007121/0.3343, allocations: 2.337 MB / 0.5153 GB, free: 19.03 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.3344, allocations: 9.625 kB / 0.5153 GB, free: 19.03 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01016/0.3445, allocations: 1.335 MB / 0.5166 GB, free: 18.79 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001224/0.3458, allocations: 0.5618 MB / 0.5171 GB, free: 18.37 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.099e-05/0.3458, allocations: 96.86 kB / 0.5172 GB, free: 18.33 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001953/0.346, allocations: 134 kB / 0.5173 GB, free: 18.28 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002488/0.3485, allocations: 1.595 MB / 0.5189 GB, free: 17.49 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.25e-05/0.3486, allocations: 5.922 kB / 0.5189 GB, free: 17.48 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001168/0.3487, allocations: 52.22 kB / 0.519 GB, free: 17.45 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.083e-05/0.3487, allocations: 36.8 kB / 0.519 GB, free: 17.44 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002358/0.3511, allocations: 1.507 MB / 0.5205 GB, free: 16.91 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006765/0.3578, allocations: 4.283 MB / 0.5247 GB, free: 14.23 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001904/0.3597, allocations: 1.073 MB / 0.5257 GB, free: 13.73 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008851/0.3606, allocations: 0.5512 MB / 0.5262 GB, free: 13.49 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001334/0.3608, allocations: 36.08 kB / 0.5263 GB, free: 13.48 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.93e-05/0.3608, allocations: 45.78 kB / 0.5263 GB, free: 13.43 MB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 3.837e-06/0.3608, allocations: 3.938 kB / 0.5263 GB, free: 13.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=127): time 0.009007/0.3698, allocations: 2.99 MB / 0.5292 GB, free: 12.55 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.949e-05/0.3698, allocations: 91.55 kB / 0.5293 GB, free: 12.46 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004996/0.3703, allocations: 418.3 kB / 0.5297 GB, free: 12.24 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.175e-05/0.3704, allocations: 45.92 kB / 0.5298 GB, free: 12.2 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002174/0.3706, allocations: 495.3 kB / 0.5302 GB, free: 11.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002751/0.3709, allocations: 443.3 kB / 0.5307 GB, free: 11.45 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003645/0.3713, allocations: 218 kB / 0.5309 GB, free: 11.35 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.3714, allocations: 379.9 kB / 0.5312 GB, free: 11 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008504/0.3722, allocations: 466.1 kB / 0.5317 GB, free: 10.82 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009494/0.3732, allocations: 0.694 MB / 0.5324 GB, free: 10.36 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001698/0.3749, allocations: 1.203 MB / 0.5335 GB, free: 9.602 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.105e-06/0.3749, allocations: 1.375 kB / 0.5335 GB, free: 9.602 MB / 446.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.002927/0.3778, allocations: 1.58 MB / 0.5351 GB, free: 8.902 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.697e-05/0.3778, allocations: 8.406 kB / 0.5351 GB, free: 8.902 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.917e-05/0.3779, allocations: 7.562 kB / 0.5351 GB, free: 8.902 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001538/0.3794, allocations: 0.5256 MB / 0.5356 GB, free: 8.738 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008226/0.3802, allocations: 199.4 kB / 0.5358 GB, free: 8.719 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001917/0.3804, allocations: 51.16 kB / 0.5358 GB, free: 8.703 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000755/0.3812, allocations: 115.8 kB / 0.536 GB, free: 8.625 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.571e-05/0.3813, allocations: 52.47 kB / 0.536 GB, free: 8.613 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.0004351/0.3817, allocations: 271.8 kB / 0.5363 GB, free: 8.395 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001614/0.3819, allocations: 81.05 kB / 0.5363 GB, free: 8.352 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002576/0.3844, allocations: 1.539 MB / 0.5378 GB, free: 7.637 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.84e-05/0.3845, allocations: 17.92 kB / 0.5379 GB, free: 7.633 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.3845, allocations: 5.25 kB / 0.5379 GB, free: 7.629 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.689e-05/0.3845, allocations: 6.281 kB / 0.5379 GB, free: 7.629 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004214/0.3887, allocations: 2.484 MB / 0.5403 GB, free: 6.352 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.584e-06/0.3887, allocations: 1.188 kB / 0.5403 GB, free: 6.352 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006529/0.3894, allocations: 146.6 kB / 0.5404 GB, free: 6.336 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001412/0.3908, allocations: 0.5233 MB / 0.5409 GB, free: 6.168 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.268e-05/0.3909, allocations: 27.36 kB / 0.541 GB, free: 6.152 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003281/0.3912, allocations: 69.06 kB / 0.541 GB, free: 6.133 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.3912, allocations: 0.75 kB / 0.541 GB, free: 6.133 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003676/0.3949, allocations: 2.322 MB / 0.5433 GB, free: 4.941 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005428/0.3954, allocations: 201.6 kB / 0.5435 GB, free: 4.82 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001075/0.3955, allocations: 21.5 kB / 0.5435 GB, free: 4.805 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005889/0.3961, allocations: 43.83 kB / 0.5436 GB, free: 4.789 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001766/0.3963, allocations: 88.81 kB / 0.5436 GB, free: 4.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.497e-05/0.3964, allocations: 36.3 kB / 0.5437 GB, free: 4.762 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002761/0.3966, allocations: 270.2 kB / 0.5439 GB, free: 4.629 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3966, allocations: 3.938 kB / 0.5439 GB, free: 4.625 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001006/0.3976, allocations: 354.5 kB / 0.5443 GB, free: 4.527 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.3979, allocations: 162.9 kB / 0.5444 GB, free: 4.398 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002773/0.4007, allocations: 1.277 MB / 0.5457 GB, free: 3.594 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.4007, allocations: 4 kB / 0.5457 GB, free: 3.59 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001453/0.4021, allocations: 0.6849 MB / 0.5464 GB, free: 2.922 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006488/0.4028, allocations: 95.97 kB / 0.5464 GB, free: 2.832 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002771/0.4055, allocations: 2.08 MB / 0.5485 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002897/0.4058, allocations: 462.3 kB / 0.5489 GB, free: 232 kB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003533/0.4062, allocations: 102.4 kB / 0.549 GB, free: 124 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000156/0.4063, allocations: 68.48 kB / 0.5491 GB, free: 56 kB / 446.1 MB Notification: Performance of SimCode: time 7.11e-07/0.4063, allocations: 0 / 0.5491 GB, free: 56 kB / 446.1 MB Notification: Performance of Templates: time 0.02352/0.4299, allocations: 12.28 MB / 0.5611 GB, free: 3.93 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/Ideal/Ideal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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.584314465988427]