Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001569/0.001568, allocations: 182.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.959/1.959, allocations: 205.2 MB / 219.4 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00106/0.00106, allocations: 86.7 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.714e-05/2.715e-05, allocations: 0 / 321.5 MB, free: 17.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1093, allocations: 47.57 MB / 369.1 MB, free: 2.207 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3956/0.5049, allocations: 81.3 MB / 450.4 MB, free: 11.91 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002679/0.5052, allocations: 76.2 kB / 450.5 MB, free: 11.87 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06327/0.5685, allocations: 16.24 MB / 466.7 MB, free: 13.45 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.5686, allocations: 0 / 466.7 MB, free: 13.45 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.175e-05/0.5686, allocations: 8 kB / 466.7 MB, free: 13.45 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002553/0.5712, allocations: 0.7721 MB / 467.5 MB, free: 12.63 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.5712, allocations: 8.031 kB / 467.5 MB, free: 12.62 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004449/0.5757, allocations: 431 kB / 467.9 MB, free: 12.2 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007007/0.5764, allocations: 302.4 kB / 468.2 MB, free: 11.86 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.277e-05/0.5765, allocations: 49.31 kB / 468.3 MB, free: 11.82 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001601/0.5767, allocations: 67.8 kB / 468.3 MB, free: 11.75 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001558/0.5783, allocations: 0.5376 MB / 468.9 MB, free: 11.2 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.13e-05/0.5783, allocations: 0 / 468.9 MB, free: 11.2 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.527e-05/0.5784, allocations: 20 kB / 468.9 MB, free: 11.18 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.451e-05/0.5785, allocations: 16 kB / 468.9 MB, free: 11.17 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001713/0.5802, allocations: 0.6104 MB / 469.5 MB, free: 10.56 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005572/0.5858, allocations: 2.091 MB / 471.6 MB, free: 8.344 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003859/0.5897, allocations: 2.992 MB / 474.6 MB, free: 4.781 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007527/0.5905, allocations: 247 kB / 474.8 MB, free: 4.539 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001552/0.5907, allocations: 93.47 kB / 474.9 MB, free: 4.43 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.183e-05/0.5907, allocations: 43 kB / 475 MB, free: 4.379 MB / 346.7 MB Notification: Performance of pre-optimization done (n=49): time 3.166e-06/0.5907, allocations: 0 / 475 MB, free: 4.379 MB / 346.7 MB Notification: Performance of matching and sorting (n=49): time 0.001392/0.5921, allocations: 424.5 kB / 475.4 MB, free: 3.953 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/0.5922, allocations: 63.78 kB / 475.4 MB, free: 3.879 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002835/0.5925, allocations: 183.5 kB / 475.6 MB, free: 3.695 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.001e-05/0.5926, allocations: 33.7 kB / 475.6 MB, free: 3.656 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002034/0.5928, allocations: 310.5 kB / 475.9 MB, free: 3.348 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000183/0.593, allocations: 165.6 kB / 476.1 MB, free: 3.184 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.173e-05/0.593, allocations: 12 kB / 476.1 MB, free: 3.172 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.5932, allocations: 330.8 kB / 476.4 MB, free: 2.84 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003957/0.5936, allocations: 137.1 kB / 476.6 MB, free: 2.707 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004961/0.5941, allocations: 263.8 kB / 476.8 MB, free: 2.402 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005092/0.5946, allocations: 185.5 kB / 477 MB, free: 2.219 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.5946, allocations: 0 / 477 MB, free: 2.219 MB / 346.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001594/0.5963, allocations: 0.5432 MB / 477.6 MB, free: 1.668 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/0.5963, allocations: 4 kB / 477.6 MB, free: 1.664 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.656e-05/0.5963, allocations: 4.469 kB / 477.6 MB, free: 1.66 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000525/0.5969, allocations: 96.69 kB / 477.7 MB, free: 1.562 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008416/0.5977, allocations: 111.9 kB / 477.8 MB, free: 1.453 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002536/0.6003, allocations: 1.64 MB / 479.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005919/0.6009, allocations: 51.53 kB / 479.5 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.078e-05/0.601, allocations: 28.05 kB / 479.5 MB, free: 15.6 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001852/0.6012, allocations: 136.8 kB / 479.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.152e-05/0.6013, allocations: 31.58 kB / 479.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001588/0.6029, allocations: 0.5081 MB / 480.2 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-05/0.6029, allocations: 11.95 kB / 480.2 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.6029, allocations: 0 / 480.2 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.152e-05/0.603, allocations: 3.984 kB / 480.2 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002717/0.6057, allocations: 1.15 MB / 481.3 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.236e-06/0.6057, allocations: 4 kB / 481.3 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006811/0.6064, allocations: 87.95 kB / 481.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000446/0.6069, allocations: 76.75 kB / 481.5 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.598e-05/0.607, allocations: 12 kB / 481.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002359/0.6093, allocations: 1.621 MB / 483.1 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.051e-05/0.6094, allocations: 7.984 kB / 483.1 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002009/0.6114, allocations: 0.7863 MB / 483.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001388/0.6116, allocations: 116.6 kB / 484 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.912e-05/0.6117, allocations: 20 kB / 484.1 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004324/0.6121, allocations: 23.98 kB / 484.1 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000137/0.6122, allocations: 32.47 kB / 484.1 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.822e-05/0.6123, allocations: 19.98 kB / 484.1 MB, free: 10.69 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001987/0.6125, allocations: 140.3 kB / 484.3 MB, free: 10.55 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6125, allocations: 3.938 kB / 484.3 MB, free: 10.55 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007838/0.6133, allocations: 159.6 kB / 484.4 MB, free: 10.39 MB / 362.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003242/0.6137, allocations: 159 kB / 484.6 MB, free: 10.23 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001508/0.6152, allocations: 0.5502 MB / 485.1 MB, free: 9.664 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.6152, allocations: 3.938 kB / 485.1 MB, free: 9.66 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008581/0.6161, allocations: 369.9 kB / 485.5 MB, free: 9.285 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003714/0.6165, allocations: 28.17 kB / 485.5 MB, free: 9.258 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004503/0.621, allocations: 1.143 MB / 486.7 MB, free: 8.082 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005046/0.6215, allocations: 0.8254 MB / 487.5 MB, free: 7.23 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002487/0.6218, allocations: 43.42 kB / 487.5 MB, free: 7.188 MB / 362.7 MB Notification: Performance of SimCode: time 1.232e-06/0.6218, allocations: 0 / 487.5 MB, free: 7.188 MB / 362.7 MB Notification: Performance of Templates: time 0.01499/0.6368, allocations: 6.438 MB / 494 MB, free: 0.7422 MB / 362.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches