Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001046/0.001045, allocations: 114.9 kB / 17.75 MB, free: 5.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 188.4 kB / 18.67 MB, free: 4.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.291/1.291, allocations: 222.9 MB / 242.4 MB, free: 15.11 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001089/0.001089, allocations: 47.92 kB / 352 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.251/0.2521, allocations: 49.43 MB / 401.4 MB, free: 8.766 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.004916/0.2571, allocations: 3.702 MB / 405.1 MB, free: 5.184 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002484/0.2596, allocations: 1.429 MB / 406.5 MB, free: 3.746 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001935/0.2598, allocations: 8 kB / 406.5 MB, free: 3.738 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001708/0.2615, allocations: 0.7506 MB / 407.3 MB, free: 2.984 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001147/0.2627, allocations: 0.5435 MB / 407.8 MB, free: 2.441 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000803/0.2635, allocations: 430.5 kB / 408.3 MB, free: 2.02 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004744/0.264, allocations: 462 kB / 408.7 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007409/0.2647, allocations: 463 kB / 409.2 MB, free: 1.109 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003227/0.2651, allocations: 211.2 kB / 409.4 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003278/0.2654, allocations: 278.9 kB / 409.6 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.993e-05/0.2655, allocations: 48 kB / 409.7 MB, free: 0.582 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004913/0.266, allocations: 219.8 kB / 409.9 MB, free: 376 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.635e-05/0.2661, allocations: 99.67 kB / 410 MB, free: 276 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002127/0.2663, allocations: 238.8 kB / 410.2 MB, free: 36 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000793/0.2671, allocations: 0.6892 MB / 410.9 MB, free: 15.34 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.2671, allocations: 0 / 410.9 MB, free: 15.34 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.717e-06/0.2671, allocations: 0 / 410.9 MB, free: 15.34 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.017e-06/0.2671, allocations: 3.938 kB / 410.9 MB, free: 15.34 MB / 334.1 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.002038/0.2692, allocations: 0.9093 MB / 411.8 MB, free: 14.38 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.2692, allocations: 15.89 kB / 411.8 MB, free: 14.37 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003462/0.2727, allocations: 491.9 kB / 412.3 MB, free: 13.89 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004534/0.2732, allocations: 309.7 kB / 412.6 MB, free: 13.54 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.901e-05/0.2732, allocations: 41.69 kB / 412.7 MB, free: 13.5 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.936e-05/0.2733, allocations: 56.28 kB / 412.7 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009227/0.2742, allocations: 0.5298 MB / 413.3 MB, free: 12.91 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.59e-05/0.2743, allocations: 7.984 kB / 413.3 MB, free: 12.91 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.362e-05/0.2743, allocations: 20 kB / 413.3 MB, free: 12.89 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.533e-05/0.2744, allocations: 15.94 kB / 413.3 MB, free: 12.87 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009763/0.2753, allocations: 0.5712 MB / 413.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002734/0.2781, allocations: 1.875 MB / 415.7 MB, free: 10.32 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002074/0.2802, allocations: 2.163 MB / 417.9 MB, free: 7.77 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004669/0.2807, allocations: 270 kB / 418.2 MB, free: 7.504 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.081e-05/0.2808, allocations: 93.52 kB / 418.3 MB, free: 7.395 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/0.2808, allocations: 35 kB / 418.3 MB, free: 7.352 MB / 334.1 MB Notification: Performance of pre-optimization done (n=47): time 2.244e-06/0.2808, allocations: 4 kB / 418.3 MB, free: 7.348 MB / 334.1 MB Notification: Performance of matching and sorting (n=47): time 0.001695/0.2825, allocations: 0.7426 MB / 419 MB, free: 6.574 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.384e-05/0.2826, allocations: 55.84 kB / 419.1 MB, free: 6.508 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001794/0.2827, allocations: 194.2 kB / 419.3 MB, free: 6.309 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.097e-05/0.2828, allocations: 29.7 kB / 419.3 MB, free: 6.273 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000177/0.283, allocations: 212.5 kB / 419.5 MB, free: 6.059 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001303/0.2831, allocations: 165.6 kB / 419.7 MB, free: 5.895 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001292/0.2832, allocations: 82.25 kB / 419.8 MB, free: 5.809 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.2834, allocations: 338.8 kB / 420.1 MB, free: 5.469 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002794/0.2837, allocations: 149.1 kB / 420.2 MB, free: 5.324 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000347/0.284, allocations: 238.5 kB / 420.5 MB, free: 5.062 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000627/0.2847, allocations: 420.8 kB / 420.9 MB, free: 4.617 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.2847, allocations: 4 kB / 420.9 MB, free: 4.613 MB / 334.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009726/0.2856, allocations: 0.5279 MB / 421.4 MB, free: 4.078 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.2857, allocations: 11.98 kB / 421.4 MB, free: 4.066 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.2857, allocations: 4 kB / 421.4 MB, free: 4.062 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003376/0.286, allocations: 76.81 kB / 421.5 MB, free: 3.984 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003811/0.2864, allocations: 99.83 kB / 421.6 MB, free: 3.887 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001799/0.2882, allocations: 1.778 MB / 423.4 MB, free: 1.973 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002569/0.2885, allocations: 43.53 kB / 423.4 MB, free: 1.93 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.206e-05/0.2885, allocations: 19.98 kB / 423.4 MB, free: 1.91 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (52): * Single equations (assignments): 51 * 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,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000194/0.2887, allocations: 165.8 kB / 423.6 MB, free: 1.738 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.916e-05/0.2888, allocations: 27.72 kB / 423.6 MB, free: 1.711 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001042/0.2899, allocations: 0.5394 MB / 424.2 MB, free: 1.164 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.2899, allocations: 8 kB / 424.2 MB, free: 1.156 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.2899, allocations: 0 / 424.2 MB, free: 1.156 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/0.2899, allocations: 3.984 kB / 424.2 MB, free: 1.152 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001658/0.2916, allocations: 1.144 MB / 425.3 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.2916, allocations: 3.938 kB / 425.3 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00032/0.2919, allocations: 79.91 kB / 425.4 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002577/0.2922, allocations: 88.8 kB / 425.5 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.593e-05/0.2922, allocations: 8 kB / 425.5 MB, free: 15.76 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00157/0.2938, allocations: 1.758 MB / 427.3 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.2938, allocations: 0 / 427.3 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001277/0.2951, allocations: 0.8105 MB / 428.1 MB, free: 13.03 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.713e-05/0.2952, allocations: 108.7 kB / 428.2 MB, free: 12.9 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.199e-05/0.2952, allocations: 12 kB / 428.2 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002339/0.2955, allocations: 24.05 kB / 428.2 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.524e-05/0.2956, allocations: 36.39 kB / 428.3 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-05/0.2956, allocations: 15.94 kB / 428.3 MB, free: 12.82 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001224/0.2957, allocations: 136.2 kB / 428.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2957, allocations: 0 / 428.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005284/0.2963, allocations: 151.5 kB / 428.5 MB, free: 12.54 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (currentSource.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 (44): * Single equations (assignments): 43 * 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,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002384/0.2965, allocations: 144 kB / 428.7 MB, free: 12.39 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001035/0.2976, allocations: 0.5658 MB / 429.3 MB, free: 11.8 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2976, allocations: 0 / 429.3 MB, free: 11.8 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005734/0.2982, allocations: 377.7 kB / 429.6 MB, free: 11.43 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/0.2985, allocations: 32 kB / 429.7 MB, free: 11.39 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001278/0.2998, allocations: 0.8441 MB / 430.5 MB, free: 10.52 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000373/0.3002, allocations: 0.8006 MB / 431.3 MB, free: 9.691 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001113/0.3003, allocations: 39.42 kB / 431.3 MB, free: 9.652 MB / 350.1 MB Notification: Performance of SimCode: time 3.7e-07/0.3003, allocations: 4 kB / 431.3 MB, free: 9.648 MB / 350.1 MB Notification: Performance of Templates: time 0.008137/0.3085, allocations: 6.314 MB / 437.7 MB, free: 3.324 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches