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.001226/0.001226, allocations: 104.7 kB / 17.15 MB, free: 6.305 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.001197/0.001197, allocations: 198 kB / 18.07 MB, free: 5.41 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.251/1.251, allocations: 205.1 MB / 223.9 MB, free: 12.46 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.001036/0.001036, allocations: 52.25 kB / 280.1 MB, free: 3.484 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08097/0.08202, allocations: 46.63 MB / 326.7 MB, free: 4.785 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.003966/0.08602, allocations: 3.756 MB / 330.5 MB, free: 0.9961 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001841/0.08788, allocations: 1.461 MB / 331.9 MB, free: 15.53 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001254/0.08802, allocations: 12 kB / 331.9 MB, free: 15.52 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001397/0.08943, allocations: 0.7083 MB / 332.6 MB, free: 14.8 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009066/0.09034, allocations: 0.5214 MB / 333.2 MB, free: 14.28 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006393/0.09099, allocations: 406.8 kB / 333.6 MB, free: 13.88 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003479/0.09135, allocations: 473.7 kB / 334 MB, free: 13.42 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005554/0.09191, allocations: 418.6 kB / 334.4 MB, free: 13 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002153/0.09214, allocations: 211.2 kB / 334.6 MB, free: 12.8 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002299/0.09238, allocations: 286.8 kB / 334.9 MB, free: 12.52 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.079e-05/0.09244, allocations: 39.98 kB / 335 MB, free: 12.48 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002927/0.09273, allocations: 195.8 kB / 335.1 MB, free: 12.29 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.579e-05/0.09281, allocations: 99.61 kB / 335.2 MB, free: 12.19 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001644/0.09298, allocations: 242.7 kB / 335.5 MB, free: 11.95 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005619/0.09355, allocations: 0.697 MB / 336.2 MB, free: 11.25 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.09356, allocations: 0 / 336.2 MB, free: 11.25 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.71e-07/0.09357, allocations: 0 / 336.2 MB, free: 11.25 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.316e-06/0.09358, allocations: 0 / 336.2 MB, free: 11.25 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.001929/0.09551, allocations: 0.9404 MB / 337.1 MB, free: 10.26 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.09556, allocations: 12.03 kB / 337.1 MB, free: 10.25 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001256/0.09569, allocations: 107.9 kB / 337.2 MB, free: 10.13 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003942/0.09964, allocations: 0.5896 MB / 337.8 MB, free: 9.543 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003433/0.09999, allocations: 315.6 kB / 338.1 MB, free: 9.195 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.291e-05/0.1, allocations: 45.69 kB / 338.2 MB, free: 9.152 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.808e-05/0.1001, allocations: 60.12 kB / 338.2 MB, free: 9.094 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009307/0.1011, allocations: 0.5726 MB / 338.8 MB, free: 8.512 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.1011, allocations: 4 kB / 338.8 MB, free: 8.508 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.072e-05/0.1011, allocations: 24 kB / 338.8 MB, free: 8.484 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.367e-05/0.1012, allocations: 16 kB / 338.9 MB, free: 8.469 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001038/0.1022, allocations: 0.6454 MB / 339.5 MB, free: 7.824 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002784/0.105, allocations: 2.075 MB / 341.6 MB, free: 5.625 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002245/0.1073, allocations: 2.993 MB / 344.6 MB, free: 2.066 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004265/0.1077, allocations: 274 kB / 344.8 MB, free: 1.797 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.622e-05/0.1078, allocations: 93.47 kB / 344.9 MB, free: 1.688 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.1078, allocations: 46.88 kB / 345 MB, free: 1.629 MB / 286.1 MB Notification: Performance of pre-optimization done (n=49): time 2.965e-06/0.1078, allocations: 0 / 345 MB, free: 1.629 MB / 286.1 MB Notification: Performance of matching and sorting (n=49): time 0.001595/0.1094, allocations: 0.7543 MB / 345.7 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.799e-05/0.1095, allocations: 55.84 kB / 345.8 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001792/0.1097, allocations: 209 kB / 346 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.84e-05/0.1097, allocations: 33.7 kB / 346 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.1098, allocations: 240.1 kB / 346.3 MB, free: 300 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001197/0.11, allocations: 169.5 kB / 346.4 MB, free: 128 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001278/0.1101, allocations: 98.16 kB / 346.5 MB, free: 24 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.1102, allocations: 338.8 kB / 346.8 MB, free: 15.68 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002952/0.1105, allocations: 157 kB / 347 MB, free: 15.53 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003626/0.1109, allocations: 283.7 kB / 347.3 MB, free: 15.2 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000651/0.1115, allocations: 474.2 kB / 347.7 MB, free: 14.69 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.1116, allocations: 0 / 347.7 MB, free: 14.69 MB / 302.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.000996/0.1126, allocations: 0.5865 MB / 348.3 MB, free: 14.09 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.1126, allocations: 12 kB / 348.3 MB, free: 14.08 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.1126, allocations: 4 kB / 348.3 MB, free: 14.08 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003246/0.1129, allocations: 84.75 kB / 348.4 MB, free: 13.99 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003917/0.1133, allocations: 111.8 kB / 348.5 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001531/0.1149, allocations: 1.656 MB / 350.2 MB, free: 12.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002757/0.1152, allocations: 55.5 kB / 350.2 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.346e-05/0.1152, allocations: 23.98 kB / 350.3 MB, free: 12.02 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.0001797/0.1154, allocations: 177.7 kB / 350.4 MB, free: 11.83 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.019e-05/0.1155, allocations: 27.66 kB / 350.5 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001008/0.1165, allocations: 0.5511 MB / 351 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.1165, allocations: 8 kB / 351 MB, free: 11.24 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1165, allocations: 7.984 kB / 351 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.1165, allocations: 0 / 351 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001581/0.1181, allocations: 1.173 MB / 352.2 MB, free: 9.992 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1181, allocations: 3.938 kB / 352.2 MB, free: 9.988 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003198/0.1184, allocations: 87.83 kB / 352.3 MB, free: 9.902 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002505/0.1187, allocations: 76.88 kB / 352.4 MB, free: 9.824 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.743e-05/0.1187, allocations: 12 kB / 352.4 MB, free: 9.812 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001407/0.1201, allocations: 1.64 MB / 354 MB, free: 8.039 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.1202, allocations: 4 kB / 354 MB, free: 8.035 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001211/0.1214, allocations: 0.8141 MB / 354.8 MB, free: 7.195 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.644e-05/0.1214, allocations: 112.7 kB / 355 MB, free: 7.066 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.148e-05/0.1215, allocations: 15.94 kB / 355 MB, free: 7.051 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002227/0.1217, allocations: 15.98 kB / 355 MB, free: 7.035 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.077e-05/0.1218, allocations: 48.33 kB / 355 MB, free: 6.988 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.511e-05/0.1218, allocations: 12 kB / 355 MB, free: 6.977 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001259/0.122, allocations: 148.1 kB / 355.2 MB, free: 6.832 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.122, allocations: 0 / 355.2 MB, free: 6.832 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004803/0.1225, allocations: 159.6 kB / 355.3 MB, free: 6.676 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.001553/0.124, allocations: 1.382 MB / 356.7 MB, free: 5.258 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000954/0.125, allocations: 0.597 MB / 357.3 MB, free: 4.648 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.125, allocations: 0 / 357.3 MB, free: 4.648 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005533/0.1256, allocations: 390 kB / 357.7 MB, free: 4.258 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004292/0.126, allocations: 39.88 kB / 357.7 MB, free: 4.219 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004841/0.1309, allocations: 3.877 MB / 361.6 MB, free: 156 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004089/0.1313, allocations: 0.8172 MB / 362.4 MB, free: 15.31 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002364/0.1315, allocations: 51.27 kB / 362.5 MB, free: 15.26 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002056/0.1317, allocations: 147.4 kB / 362.6 MB, free: 15.12 MB / 318.1 MB Notification: Performance of SimCode: time 8.31e-07/0.1317, allocations: 0 / 362.6 MB, free: 15.12 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.904/3.036, allocations: 7.421 MB / 370.1 MB, free: 7.66 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000252/3.036, allocations: 267.5 kB / 370.3 MB, free: 7.391 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.668/5.704, allocations: 0 / 370.3 MB, free: 7.391 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