Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.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 3.2.3+maint.om/package.mo", uses=false) 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 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.QuasiStationary.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_ParallelResonance",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.0007164/0.0007162, allocations: 95.98 kB / 17.3 MB, free: 6.391 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.0008964/0.0008965, allocations: 173.8 kB / 18.2 MB, free: 5.551 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.24/1.24, allocations: 205.4 MB / 224.4 MB, free: 13.08 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004289/0.0004292, allocations: 8 kB / 281.5 MB, free: 3.324 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08157/0.08201, allocations: 47.58 MB / 329.1 MB, free: 3.676 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.003585/0.08563, allocations: 3.355 MB / 332.4 MB, free: 300 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002345/0.088, allocations: 1.446 MB / 333.9 MB, free: 14.84 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001584/0.08818, allocations: 11.94 kB / 333.9 MB, free: 14.83 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004207/0.08861, allocations: 163.3 kB / 334 MB, free: 14.67 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001095/0.08971, allocations: 0.5136 MB / 334.5 MB, free: 14.15 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007354/0.09046, allocations: 394.9 kB / 334.9 MB, free: 13.77 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004423/0.09091, allocations: 477.7 kB / 335.4 MB, free: 13.3 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001312/0.09223, allocations: 0.7878 MB / 336.2 MB, free: 12.48 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002714/0.09252, allocations: 187.2 kB / 336.4 MB, free: 12.3 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002793/0.09281, allocations: 246.9 kB / 336.6 MB, free: 12.06 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.192e-05/0.09286, allocations: 20 kB / 336.6 MB, free: 12.04 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003558/0.09322, allocations: 187.8 kB / 336.8 MB, free: 11.86 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.749e-05/0.0933, allocations: 87.59 kB / 336.9 MB, free: 11.77 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001962/0.0935, allocations: 248.4 kB / 337.1 MB, free: 11.52 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006939/0.0942, allocations: 0.6734 MB / 337.8 MB, free: 10.84 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.09422, allocations: 0 / 337.8 MB, free: 10.84 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.09423, allocations: 4 kB / 337.8 MB, free: 10.84 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.792e-06/0.09424, allocations: 3.938 kB / 337.8 MB, free: 10.84 MB / 286.1 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.0019/0.09615, allocations: 0.8389 MB / 338.7 MB, free: 9.949 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.09619, allocations: 8.031 kB / 338.7 MB, free: 9.941 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001461/0.09635, allocations: 104 kB / 338.8 MB, free: 9.828 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004204/0.1006, allocations: 0.5935 MB / 339.4 MB, free: 9.234 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000346/0.1009, allocations: 327.5 kB / 339.7 MB, free: 8.875 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.553e-05/0.101, allocations: 41.69 kB / 339.7 MB, free: 8.836 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.912e-05/0.1011, allocations: 64.12 kB / 339.8 MB, free: 8.773 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009914/0.1021, allocations: 0.5726 MB / 340.4 MB, free: 8.191 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/0.1021, allocations: 0 / 340.4 MB, free: 8.191 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.237e-05/0.1021, allocations: 24 kB / 340.4 MB, free: 8.168 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/0.1022, allocations: 16 kB / 340.4 MB, free: 8.152 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00111/0.1033, allocations: 0.6571 MB / 341.1 MB, free: 7.496 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00295/0.1062, allocations: 2.071 MB / 343.1 MB, free: 5.301 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00236/0.1086, allocations: 3.001 MB / 346.1 MB, free: 1.734 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000444/0.1091, allocations: 270.1 kB / 346.4 MB, free: 1.469 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.756e-05/0.1092, allocations: 89.55 kB / 346.5 MB, free: 1.363 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.1092, allocations: 38.94 kB / 346.5 MB, free: 1.312 MB / 286.1 MB Notification: Performance of pre-optimization done (n=49): time 1.754e-06/0.1092, allocations: 4 kB / 346.5 MB, free: 1.309 MB / 286.1 MB Notification: Performance of matching and sorting (n=49): time 0.001713/0.1109, allocations: 0.7738 MB / 347.3 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/0.111, allocations: 59.83 kB / 347.4 MB, free: 448 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001858/0.1112, allocations: 193.1 kB / 347.5 MB, free: 248 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.379e-05/0.1112, allocations: 37.7 kB / 347.6 MB, free: 204 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001411/0.1113, allocations: 244.1 kB / 347.8 MB, free: 15.95 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000125/0.1115, allocations: 165.5 kB / 348 MB, free: 15.79 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.818e-05/0.1116, allocations: 53.69 kB / 348 MB, free: 15.73 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.1117, allocations: 338.8 kB / 348.4 MB, free: 15.39 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003643/0.112, allocations: 165 kB / 348.5 MB, free: 15.23 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003984/0.1125, allocations: 291.6 kB / 348.8 MB, free: 14.9 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007312/0.1132, allocations: 490.2 kB / 349.3 MB, free: 14.37 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.1132, allocations: 0 / 349.3 MB, free: 14.37 MB / 302.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001094/0.1143, allocations: 0.5981 MB / 349.9 MB, free: 13.76 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.1143, allocations: 8 kB / 349.9 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.465e-06/0.1144, allocations: 4 kB / 349.9 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003503/0.1147, allocations: 84.84 kB / 350 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004494/0.1152, allocations: 115.8 kB / 350.1 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00174/0.1169, allocations: 1.644 MB / 351.7 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003043/0.1172, allocations: 55.52 kB / 351.8 MB, free: 11.72 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.651e-05/0.1173, allocations: 20.23 kB / 351.8 MB, free: 11.7 MB / 302.1 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 () * Number of clocked 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 (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.0002347/0.1175, allocations: 177.7 kB / 352 MB, free: 11.52 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.417e-05/0.1176, allocations: 43.44 kB / 352 MB, free: 11.47 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001175/0.1188, allocations: 0.563 MB / 352.6 MB, free: 10.9 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.1188, allocations: 8 kB / 352.6 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1188, allocations: 4 kB / 352.6 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.1188, allocations: 0 / 352.6 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001655/0.1205, allocations: 1.185 MB / 353.8 MB, free: 9.637 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.1205, allocations: 0 / 353.8 MB, free: 9.637 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000338/0.1209, allocations: 91.95 kB / 353.9 MB, free: 9.547 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002562/0.1211, allocations: 76.8 kB / 354 MB, free: 9.469 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.637e-05/0.1212, allocations: 15.98 kB / 354 MB, free: 9.453 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001604/0.1228, allocations: 1.636 MB / 355.6 MB, free: 7.684 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.1228, allocations: 0 / 355.6 MB, free: 7.684 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001345/0.1241, allocations: 0.8375 MB / 356.4 MB, free: 6.82 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.464e-05/0.1242, allocations: 112.7 kB / 356.6 MB, free: 6.691 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.928e-05/0.1243, allocations: 8 kB / 356.6 MB, free: 6.684 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002363/0.1245, allocations: 23.98 kB / 356.6 MB, free: 6.66 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.15e-05/0.1246, allocations: 40.39 kB / 356.6 MB, free: 6.621 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.678e-05/0.1247, allocations: 19.98 kB / 356.6 MB, free: 6.602 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001301/0.1248, allocations: 144.2 kB / 356.8 MB, free: 6.461 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1248, allocations: 4 kB / 356.8 MB, free: 6.457 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005416/0.1254, allocations: 159.5 kB / 356.9 MB, free: 6.301 MB / 302.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 (46): * Single equations (assignments): 45 * 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.001696/0.1271, allocations: 1.414 MB / 358.4 MB, free: 4.852 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001114/0.1282, allocations: 0.5937 MB / 358.9 MB, free: 4.246 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.1282, allocations: 0 / 358.9 MB, free: 4.246 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005754/0.1288, allocations: 396.9 kB / 359.3 MB, free: 3.848 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004447/0.1292, allocations: 48.44 kB / 359.4 MB, free: 3.801 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004851/0.1341, allocations: 3.946 MB / 363.3 MB, free: 15.66 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000344/0.1345, allocations: 0.8172 MB / 364.1 MB, free: 14.82 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002278/0.1347, allocations: 55.25 kB / 364.2 MB, free: 14.77 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002083/0.1349, allocations: 143.4 kB / 364.3 MB, free: 14.62 MB / 318.1 MB Notification: Performance of SimCode: time 1.833e-06/0.1349, allocations: 0 / 364.3 MB, free: 14.62 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01772/0.1527, allocations: 7.283 MB / 371.6 MB, free: 7.34 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000173/0.1529, allocations: 250.8 kB / 371.9 MB, free: 7.086 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.859/2.012, allocations: 0 / 371.9 MB, free: 7.086 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_ParallelResonance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_ParallelResonance.fmu > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches