Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.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: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00149/0.00149, allocations: 116.5 kB / 16.63 MB, free: 6.812 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.001819/0.001819, allocations: 190 kB / 17.55 MB, free: 5.934 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.363/1.363, allocations: 222.9 MB / 241.2 MB, free: 15.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001005/0.001005, allocations: 46.95 kB / 300.2 MB, free: 6.082 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09795/0.09897, allocations: 49.45 MB / 349.7 MB, free: 4.629 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.005156/0.1042, allocations: 3.705 MB / 353.4 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002461/0.1067, allocations: 1.414 MB / 354.8 MB, free: 15.48 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003865/0.1071, allocations: 8 kB / 354.8 MB, free: 15.47 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001879/0.109, allocations: 0.6984 MB / 355.5 MB, free: 14.77 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001233/0.1102, allocations: 0.5051 MB / 356 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008033/0.111, allocations: 396.9 kB / 356.4 MB, free: 13.88 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004752/0.1115, allocations: 462 kB / 356.9 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005985/0.1121, allocations: 422.1 kB / 357.3 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002648/0.1124, allocations: 207.2 kB / 357.5 MB, free: 12.81 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002849/0.1127, allocations: 266.9 kB / 357.7 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.467e-05/0.1128, allocations: 40 kB / 357.8 MB, free: 12.51 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003921/0.1132, allocations: 207.8 kB / 358 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.756e-05/0.1133, allocations: 107.6 kB / 358.1 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001962/0.1135, allocations: 230.8 kB / 358.3 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007219/0.1142, allocations: 0.6697 MB / 359 MB, free: 11.3 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1142, allocations: 8 kB / 359 MB, free: 11.29 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1142, allocations: 0 / 359 MB, free: 11.29 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.735e-06/0.1142, allocations: 0 / 359 MB, free: 11.29 MB / 302.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.001891/0.1161, allocations: 0.912 MB / 359.9 MB, free: 10.34 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.1162, allocations: 8.031 kB / 359.9 MB, free: 10.33 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001217/0.1163, allocations: 100 kB / 360 MB, free: 10.22 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003306/0.1196, allocations: 495.9 kB / 360.5 MB, free: 9.738 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003824/0.12, allocations: 299.6 kB / 360.8 MB, free: 9.406 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.356e-05/0.1201, allocations: 41.69 kB / 360.8 MB, free: 9.363 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.863e-05/0.1201, allocations: 64.27 kB / 360.9 MB, free: 9.301 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008727/0.121, allocations: 0.514 MB / 361.4 MB, free: 8.781 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.994e-05/0.121, allocations: 3.984 kB / 361.4 MB, free: 8.777 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.926e-05/0.1211, allocations: 24 kB / 361.4 MB, free: 8.754 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.1211, allocations: 12 kB / 361.4 MB, free: 8.742 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009325/0.1221, allocations: 0.5634 MB / 362 MB, free: 8.18 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002555/0.1246, allocations: 1.896 MB / 363.9 MB, free: 6.164 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001973/0.1266, allocations: 2.184 MB / 366.1 MB, free: 3.59 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003308/0.127, allocations: 214.1 kB / 366.3 MB, free: 3.379 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.112e-05/0.127, allocations: 89.55 kB / 366.4 MB, free: 3.273 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.1271, allocations: 38.98 kB / 366.4 MB, free: 3.223 MB / 302.1 MB Notification: Performance of pre-optimization done (n=47): time 1.753e-06/0.1271, allocations: 0 / 366.4 MB, free: 3.223 MB / 302.1 MB Notification: Performance of matching and sorting (n=47): time 0.00186/0.129, allocations: 0.7856 MB / 367.2 MB, free: 2.41 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.087e-05/0.129, allocations: 59.78 kB / 367.3 MB, free: 2.34 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001592/0.1292, allocations: 186.3 kB / 367.4 MB, free: 2.148 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.086e-05/0.1292, allocations: 33.7 kB / 367.5 MB, free: 2.109 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.1293, allocations: 224.4 kB / 367.7 MB, free: 1.887 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000105/0.1294, allocations: 165.6 kB / 367.9 MB, free: 1.723 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/0.1296, allocations: 82.25 kB / 367.9 MB, free: 1.637 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.1297, allocations: 330.8 kB / 368.3 MB, free: 1.305 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002804/0.13, allocations: 157 kB / 368.4 MB, free: 1.152 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003226/0.1303, allocations: 224.8 kB / 368.6 MB, free: 0.9102 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006109/0.1309, allocations: 399.4 kB / 369 MB, free: 0.4961 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.1309, allocations: 0 / 369 MB, free: 0.4961 MB / 302.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.142/0.2729, allocations: 0.525 MB / 369.5 MB, free: 25.34 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.574e-05/0.273, allocations: 6.359 kB / 369.5 MB, free: 25.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/0.273, allocations: 3.031 kB / 369.6 MB, free: 25.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004536/0.2734, allocations: 94.84 kB / 369.6 MB, free: 25.33 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004926/0.274, allocations: 89.22 kB / 369.7 MB, free: 25.33 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001893/0.2759, allocations: 2.051 MB / 371.8 MB, free: 23.85 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002734/0.2761, allocations: 45 kB / 371.8 MB, free: 23.85 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.487e-05/0.2762, allocations: 20.61 kB / 371.8 MB, free: 23.85 MB / 302.1 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.0001781/0.2764, allocations: 168.9 kB / 372 MB, free: 23.74 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.351e-05/0.2764, allocations: 28.84 kB / 372 MB, free: 23.73 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001096/0.2775, allocations: 0.5478 MB / 372.6 MB, free: 23.68 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.2776, allocations: 5.406 kB / 372.6 MB, free: 23.68 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.2776, allocations: 5.75 kB / 372.6 MB, free: 23.68 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.2776, allocations: 2.531 kB / 372.6 MB, free: 23.68 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001608/0.2792, allocations: 1.134 MB / 373.7 MB, free: 23.12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.2792, allocations: 8.469 kB / 373.7 MB, free: 23.12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003521/0.2796, allocations: 72.06 kB / 373.8 MB, free: 23.12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002789/0.2799, allocations: 88.22 kB / 373.9 MB, free: 23.09 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.854e-05/0.2799, allocations: 9.406 kB / 373.9 MB, free: 23.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001469/0.2814, allocations: 2.041 MB / 375.9 MB, free: 21.29 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2814, allocations: 1.375 kB / 376 MB, free: 21.29 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001201/0.2826, allocations: 0.7884 MB / 376.7 MB, free: 20.88 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.485e-05/0.2827, allocations: 108.5 kB / 376.8 MB, free: 20.77 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.102e-05/0.2827, allocations: 9.969 kB / 376.9 MB, free: 20.76 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002377/0.2829, allocations: 23.33 kB / 376.9 MB, free: 20.75 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.681e-05/0.283, allocations: 37.27 kB / 376.9 MB, free: 20.74 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.738e-05/0.2831, allocations: 10.64 kB / 376.9 MB, free: 20.74 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001033/0.2832, allocations: 142.6 kB / 377.1 MB, free: 20.64 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2832, allocations: 0 / 377.1 MB, free: 20.64 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005646/0.2838, allocations: 143 kB / 377.2 MB, free: 20.61 MB / 302.1 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.001468/0.2852, allocations: 1.374 MB / 378.6 MB, free: 19.65 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001062/0.2863, allocations: 0.5811 MB / 379.2 MB, free: 19.38 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.2863, allocations: 448 / 379.2 MB, free: 19.38 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004965/0.2868, allocations: 383.9 kB / 379.5 MB, free: 19.16 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003325/0.2872, allocations: 36.42 kB / 379.6 MB, free: 19.14 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003961/0.2911, allocations: 3.588 MB / 383.2 MB, free: 16.73 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00024/0.2914, allocations: 0.8101 MB / 384 MB, free: 16.02 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002142/0.2916, allocations: 50.59 kB / 384 MB, free: 16 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001691/0.2918, allocations: 137.8 kB / 384.2 MB, free: 15.9 MB / 302.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2918, allocations: 1 kB / 384.2 MB, free: 15.9 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02454/0.3164, allocations: 7.353 MB / 391.5 MB, free: 14.02 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001425/0.3165, allocations: 246.4 kB / 391.7 MB, free: 13.77 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.021/2.338, allocations: 0 / 391.7 MB, free: 13.77 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches