Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.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.001299/0.001299, allocations: 81.86 kB / 21.42 MB, free: 3.074 MB / 18.57 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.00106/0.00106, allocations: 166.6 kB / 24.82 MB, free: 8.77 MB / 18.57 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.013/1.013, allocations: 177.1 MB / 205.3 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] 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(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 273.4 MB, free: 1.316 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.618e-06/1.08e-05, allocations: 6.25 kB / 273.4 MB, free: 1.309 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.003056/0.003067, allocations: 3.597 MB / 277 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001498/0.004565, allocations: 1.433 MB / 278.4 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001299/0.004695, allocations: 8 kB / 278.4 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009/0.005594, allocations: 0.7736 MB / 279.2 MB, free: 11.47 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005225/0.006117, allocations: 389.8 kB / 279.6 MB, free: 11.09 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005435/0.00666, allocations: 0.5137 MB / 280.1 MB, free: 10.57 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003166/0.006977, allocations: 485.7 kB / 280.6 MB, free: 10.09 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003771/0.007354, allocations: 346 kB / 280.9 MB, free: 9.754 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002774/0.007631, allocations: 311.2 kB / 281.2 MB, free: 9.449 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001823/0.007814, allocations: 207.4 kB / 281.4 MB, free: 9.246 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.146e-05/0.007855, allocations: 40 kB / 281.5 MB, free: 9.207 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002539/0.008109, allocations: 203.7 kB / 281.7 MB, free: 9.008 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.42e-05/0.008163, allocations: 107.6 kB / 281.8 MB, free: 8.902 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001068/0.00827, allocations: 155.6 kB / 281.9 MB, free: 8.75 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004441/0.008714, allocations: 0.4982 MB / 282.4 MB, free: 8.25 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.008716, allocations: 4 kB / 282.4 MB, free: 8.246 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.008717, allocations: 0 / 282.4 MB, free: 8.246 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.008721, allocations: 4 kB / 282.4 MB, free: 8.242 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.001088/0.009808, allocations: 0.9522 MB / 283.4 MB, free: 7.25 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.585e-05/0.009834, allocations: 12.03 kB / 283.4 MB, free: 7.238 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001743/0.01158, allocations: 0.5858 MB / 284 MB, free: 6.652 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002127/0.01179, allocations: 251.5 kB / 284.2 MB, free: 6.383 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.437e-05/0.01181, allocations: 45.69 kB / 284.3 MB, free: 6.34 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.086e-05/0.01187, allocations: 48.38 kB / 284.3 MB, free: 6.293 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003689/0.01223, allocations: 385.4 kB / 284.7 MB, free: 5.898 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.01225, allocations: 192 / 284.7 MB, free: 5.898 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.15e-05/0.01228, allocations: 24.12 kB / 284.7 MB, free: 5.875 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.836e-06/0.01229, allocations: 16 kB / 284.7 MB, free: 5.859 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002849/0.01257, allocations: 274.1 kB / 285 MB, free: 5.594 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001426/0.014, allocations: 1.462 MB / 286.4 MB, free: 4.062 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007303/0.01473, allocations: 0.5563 MB / 287 MB, free: 3.5 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/0.01483, allocations: 113 kB / 287.1 MB, free: 3.387 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.217e-05/0.01488, allocations: 28.5 kB / 287.1 MB, free: 3.359 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.0149, allocations: 41.83 kB / 287.2 MB, free: 3.309 MB / 266.7 MB Notification: Performance of pre-optimization done (n=47): time 2.234e-06/0.0149, allocations: 3.984 kB / 287.2 MB, free: 3.305 MB / 266.7 MB Notification: Performance of matching and sorting (n=47): time 0.0007649/0.01567, allocations: 0.508 MB / 287.7 MB, free: 2.785 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.409e-05/0.01569, allocations: 55.91 kB / 287.7 MB, free: 2.719 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.0158, allocations: 228.3 kB / 288 MB, free: 2.48 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.01582, allocations: 33.7 kB / 288 MB, free: 2.441 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.406e-05/0.01591, allocations: 271.7 kB / 288.3 MB, free: 2.168 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.901e-05/0.01599, allocations: 170.6 kB / 288.4 MB, free: 2 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.747e-05/0.01608, allocations: 95.77 kB / 288.5 MB, free: 1.898 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.0162, allocations: 0.504 MB / 289 MB, free: 1.383 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.267e-05/0.01627, allocations: 68.94 kB / 289.1 MB, free: 1.316 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001226/0.01639, allocations: 170.9 kB / 289.3 MB, free: 1.113 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002195/0.01661, allocations: 267.3 kB / 289.5 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.01662, allocations: 0 / 289.5 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0003933/0.01701, allocations: 392.7 kB / 289.9 MB, free: 440 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/0.01702, allocations: 4 kB / 289.9 MB, free: 436 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.01702, allocations: 7.938 kB / 289.9 MB, free: 428 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002203/0.01725, allocations: 91.8 kB / 290 MB, free: 332 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000179/0.01742, allocations: 95.83 kB / 290.1 MB, free: 236 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1048/0.1222, allocations: 2.274 MB / 292.4 MB, free: 19.49 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002192/0.1224, allocations: 44.28 kB / 292.4 MB, free: 19.49 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.148e-05/0.1224, allocations: 17.03 kB / 292.4 MB, free: 19.49 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 49 * 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): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001361/0.1226, allocations: 180.9 kB / 292.6 MB, free: 19.33 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.508e-05/0.1226, allocations: 40.38 kB / 292.7 MB, free: 19.33 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005028/0.1231, allocations: 384.2 kB / 293 MB, free: 19.27 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.1231, allocations: 8.844 kB / 293 MB, free: 19.27 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1231, allocations: 2.984 kB / 293 MB, free: 19.27 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.1232, allocations: 4.641 kB / 293 MB, free: 19.27 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009591/0.1241, allocations: 0.8062 MB / 293.9 MB, free: 18.97 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.1241, allocations: 0 / 293.9 MB, free: 18.97 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001833/0.1243, allocations: 74.58 kB / 293.9 MB, free: 18.97 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002285/0.1245, allocations: 92.25 kB / 294 MB, free: 18.96 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.97e-05/0.1245, allocations: 11.2 kB / 294 MB, free: 18.96 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000927/0.1255, allocations: 2.284 MB / 296.3 MB, free: 17.02 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1255, allocations: 2.188 kB / 296.3 MB, free: 17.02 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005446/0.126, allocations: 0.5742 MB / 296.9 MB, free: 16.78 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.64e-05/0.126, allocations: 30.38 kB / 296.9 MB, free: 16.77 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.324e-05/0.1261, allocations: 17.09 kB / 296.9 MB, free: 16.77 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.1262, allocations: 11.69 kB / 296.9 MB, free: 16.77 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.489e-05/0.1262, allocations: 38.88 kB / 297 MB, free: 16.77 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.662e-05/0.1263, allocations: 10.38 kB / 297 MB, free: 16.77 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.956e-05/0.1263, allocations: 157.5 kB / 297.1 MB, free: 16.65 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1263, allocations: 0.5 kB / 297.1 MB, free: 16.65 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000408/0.1267, allocations: 155.2 kB / 297.3 MB, free: 16.64 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 41 * 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): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001686/0.1269, allocations: 145.4 kB / 297.4 MB, free: 16.55 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005007/0.1274, allocations: 480.2 kB / 297.9 MB, free: 16.34 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1274, allocations: 0 / 297.9 MB, free: 16.34 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000264/0.1276, allocations: 361.6 kB / 298.3 MB, free: 16.14 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002314/0.1279, allocations: 35.62 kB / 298.3 MB, free: 16.14 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/0.129, allocations: 0.7217 MB / 299 MB, free: 15.79 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.644e-05/0.1291, allocations: 111 kB / 299.1 MB, free: 15.72 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001214/0.1292, allocations: 50.34 kB / 299.2 MB, free: 15.72 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001241/0.1293, allocations: 119.3 kB / 299.3 MB, free: 15.65 MB / 266.7 MB Notification: Performance of SimCode: time 6.21e-07/0.1293, allocations: 0 / 299.3 MB, free: 15.65 MB / 266.7 MB Notification: Performance of Templates: time 0.00744/0.1367, allocations: 4.792 MB / 304.1 MB, free: 15.2 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6538710868917406]