Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 122.9 kB / 17.78 MB, free: 5.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 189.2 kB / 20.73 MB, free: 2.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 225.6 MB / 249.1 MB, free: 3.598 MB / 190.1 MB " [Timeout remaining time 178] 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.Analog.Examples.ParallelResonance,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ParallelResonance,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001547/0.001547, allocations: 47.92 kB / 365.7 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09749/0.09903, allocations: 52.14 MB / 417.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.004157/0.1032, allocations: 2.898 MB / 420.7 MB, free: 9.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001119/0.1043, allocations: 0.6777 MB / 421.4 MB, free: 8.996 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001309/0.1044, allocations: 8 kB / 421.4 MB, free: 8.988 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000181/0.1046, allocations: 63.36 kB / 421.4 MB, free: 8.926 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001617/0.1048, allocations: 95.19 kB / 421.5 MB, free: 8.832 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002484/0.105, allocations: 83.83 kB / 421.6 MB, free: 8.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004118/0.1054, allocations: 382.9 kB / 422 MB, free: 8.375 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002526/0.1057, allocations: 124.5 kB / 422.1 MB, free: 8.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002005/0.1059, allocations: 151.4 kB / 422.3 MB, free: 8.102 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001919/0.1061, allocations: 163.3 kB / 422.4 MB, free: 7.941 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.285e-05/0.1061, allocations: 32 kB / 422.4 MB, free: 7.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.924e-05/0.1062, allocations: 40 kB / 422.5 MB, free: 7.871 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.133e-05/0.1063, allocations: 67.77 kB / 422.6 MB, free: 7.805 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000149/0.1064, allocations: 171.2 kB / 422.7 MB, free: 7.637 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004068/0.1068, allocations: 390.3 kB / 423.1 MB, free: 7.254 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.1068, allocations: 4 kB / 423.1 MB, free: 7.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1068, allocations: 0 / 423.1 MB, free: 7.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.1068, allocations: 0 / 423.1 MB, free: 7.25 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0009955/0.1078, allocations: 0.6273 MB / 423.7 MB, free: 6.574 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.1079, allocations: 12.03 kB / 423.7 MB, free: 6.562 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.447e-05/0.1079, allocations: 70.66 kB / 423.8 MB, free: 6.484 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.399e-05/0.108, allocations: 40.7 kB / 423.9 MB, free: 6.445 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003759/0.1084, allocations: 259.9 kB / 424.1 MB, free: 6.152 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.478e-05/0.1084, allocations: 29.03 kB / 424.1 MB, free: 6.125 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.002e-05/0.1085, allocations: 40.33 kB / 424.2 MB, free: 6.086 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005113/0.109, allocations: 282.2 kB / 424.4 MB, free: 5.801 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.109, allocations: 3.984 kB / 424.5 MB, free: 5.797 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.278e-05/0.109, allocations: 8 kB / 424.5 MB, free: 5.789 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.567e-06/0.109, allocations: 8 kB / 424.5 MB, free: 5.781 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000439/0.1095, allocations: 218.5 kB / 424.7 MB, free: 5.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00153/0.111, allocations: 1.022 MB / 425.7 MB, free: 4.469 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003193/0.1113, allocations: 150.5 kB / 425.9 MB, free: 4.312 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002833/0.1116, allocations: 124.7 kB / 426 MB, free: 4.188 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.1116, allocations: 4 kB / 426 MB, free: 4.184 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.052e-05/0.1117, allocations: 34.56 kB / 426 MB, free: 4.141 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 3.046e-06/0.1117, allocations: 3.984 kB / 426 MB, free: 4.137 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0005336/0.1122, allocations: 227.9 kB / 426.2 MB, free: 3.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/0.1123, allocations: 55.41 kB / 426.3 MB, free: 3.844 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002119/0.1125, allocations: 219.1 kB / 426.5 MB, free: 3.621 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.343e-05/0.1125, allocations: 29.7 kB / 426.5 MB, free: 3.586 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001314/0.1126, allocations: 196.4 kB / 426.7 MB, free: 3.391 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.169e-05/0.1127, allocations: 79.36 kB / 426.8 MB, free: 3.312 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.683e-05/0.1128, allocations: 49.94 kB / 426.9 MB, free: 3.254 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.1129, allocations: 338.8 kB / 427.2 MB, free: 2.914 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000162/0.1131, allocations: 68.52 kB / 427.3 MB, free: 2.848 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002135/0.1133, allocations: 142.5 kB / 427.4 MB, free: 2.676 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003707/0.1137, allocations: 229.1 kB / 427.6 MB, free: 2.418 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1137, allocations: 3.938 kB / 427.6 MB, free: 2.414 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004795/0.1141, allocations: 273.1 kB / 427.9 MB, free: 2.141 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.1142, allocations: 7.938 kB / 427.9 MB, free: 2.133 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1142, allocations: 4 kB / 427.9 MB, free: 2.129 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.1142, allocations: 4 kB / 427.9 MB, free: 2.125 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000292/0.1145, allocations: 75.89 kB / 428 MB, free: 2.051 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.377e-06/0.1145, allocations: 4.25 kB / 428 MB, free: 2.047 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001448/0.1146, allocations: 31.78 kB / 428 MB, free: 2.016 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.893e-05/0.1146, allocations: 15.98 kB / 428 MB, free: 2 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001352/0.1148, allocations: 142.4 kB / 428.2 MB, free: 1.852 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.564e-05/0.1148, allocations: 23.84 kB / 428.2 MB, free: 1.828 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004003/0.1152, allocations: 199.3 kB / 428.4 MB, free: 1.625 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.1152, allocations: 0 / 428.4 MB, free: 1.625 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.1152, allocations: 4 kB / 428.4 MB, free: 1.621 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1152, allocations: 4 kB / 428.4 MB, free: 1.617 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008197/0.116, allocations: 0.5996 MB / 429 MB, free: 0.957 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.1161, allocations: 0 / 429 MB, free: 0.957 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002743/0.1163, allocations: 51.97 kB / 429 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.1163, allocations: 12 kB / 429.1 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.1163, allocations: 4 kB / 429.1 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.1163, allocations: 4 kB / 429.1 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.1164, allocations: 4 kB / 429.1 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000551/0.1169, allocations: 380.1 kB / 429.4 MB, free: 500 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.551e-05/0.117, allocations: 100.9 kB / 429.5 MB, free: 380 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.089e-05/0.117, allocations: 12 kB / 429.5 MB, free: 368 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001634/0.1172, allocations: 11.98 kB / 429.6 MB, free: 356 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.688e-05/0.1172, allocations: 23.91 kB / 429.6 MB, free: 332 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/0.1172, allocations: 4 kB / 429.6 MB, free: 328 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001388/0.1174, allocations: 156.6 kB / 429.7 MB, free: 172 kB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1174, allocations: 4 kB / 429.7 MB, free: 168 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003074/0.1177, allocations: 79.78 kB / 429.8 MB, free: 88 kB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (sineCurrent.phi,inductor1.i,capacitor1.v,cosineCurrent.phi,inductor2.i,capacitor2.v) * 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 (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008869/0.1186, allocations: 0.9135 MB / 430.7 MB, free: 15.14 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003707/0.1189, allocations: 159.8 kB / 430.9 MB, free: 14.98 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1189, allocations: 0 / 430.9 MB, free: 14.98 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001681/0.1191, allocations: 84.39 kB / 431 MB, free: 14.9 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003/0.1194, allocations: 40.59 kB / 431 MB, free: 14.86 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003381/0.1228, allocations: 2.825 MB / 433.8 MB, free: 11.89 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003856/0.1232, allocations: 0.7674 MB / 434.6 MB, free: 11.1 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.157e-05/0.1233, allocations: 25.94 kB / 434.6 MB, free: 11.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001186/0.1234, allocations: 91.41 kB / 434.7 MB, free: 10.98 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1234, allocations: 0 / 434.7 MB, free: 10.98 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05514/0.1785, allocations: 4.681 MB / 439.4 MB, free: 6.414 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.273/8.452, allocations: 16.83 kB / 439.4 MB, free: 6.402 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ParallelResonance_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ParallelResonance.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.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: 11.338189992122352]