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.001024/0.001024, allocations: 96.86 kB / 17.58 MB, free: 5.418 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.001111/0.001111, allocations: 192 kB / 18.51 MB, free: 4.508 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.319/1.319, allocations: 205.1 MB / 224.4 MB, free: 12.31 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.001237/0.001237, allocations: 47.92 kB / 280.8 MB, free: 3.074 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0732/0.07445, allocations: 46.64 MB / 327.4 MB, free: 4.371 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.004731/0.0792, allocations: 3.738 MB / 331.1 MB, free: 0.5977 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002399/0.08163, allocations: 1.465 MB / 332.6 MB, free: 15.12 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003037/0.08196, allocations: 12 kB / 332.6 MB, free: 15.11 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001684/0.08368, allocations: 0.7584 MB / 333.4 MB, free: 14.35 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001188/0.08488, allocations: 0.5675 MB / 333.9 MB, free: 13.78 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008109/0.0857, allocations: 418.5 kB / 334.3 MB, free: 13.37 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005198/0.08623, allocations: 497.7 kB / 334.8 MB, free: 12.88 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006749/0.08691, allocations: 462.3 kB / 335.3 MB, free: 12.43 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003252/0.08725, allocations: 231.1 kB / 335.5 MB, free: 12.2 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003336/0.08759, allocations: 286.8 kB / 335.8 MB, free: 11.92 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.259e-05/0.08767, allocations: 48 kB / 335.8 MB, free: 11.87 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003857/0.08806, allocations: 215.8 kB / 336 MB, free: 11.66 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.589e-05/0.08816, allocations: 115.6 kB / 336.2 MB, free: 11.55 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000212/0.08838, allocations: 254.7 kB / 336.4 MB, free: 11.3 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007718/0.08916, allocations: 0.7087 MB / 337.1 MB, free: 10.59 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.08917, allocations: 0 / 337.1 MB, free: 10.59 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.08918, allocations: 0 / 337.1 MB, free: 10.59 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.167e-05/0.0892, allocations: 0 / 337.1 MB, free: 10.59 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.002062/0.09126, allocations: 0.9404 MB / 338 MB, free: 9.598 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.09131, allocations: 12.02 kB / 338.1 MB, free: 9.586 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001462/0.09146, allocations: 103.9 kB / 338.2 MB, free: 9.473 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004147/0.09561, allocations: 0.5818 MB / 338.7 MB, free: 8.891 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003808/0.09601, allocations: 335.5 kB / 339.1 MB, free: 8.523 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.668e-05/0.09605, allocations: 41.69 kB / 339.1 MB, free: 8.484 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.499e-05/0.09615, allocations: 64.11 kB / 339.2 MB, free: 8.422 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001037/0.0972, allocations: 0.5648 MB / 339.7 MB, free: 7.852 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.46e-05/0.09724, allocations: 3.984 kB / 339.7 MB, free: 7.848 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.486e-05/0.0973, allocations: 24 kB / 339.8 MB, free: 7.824 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.516e-05/0.09732, allocations: 12 kB / 339.8 MB, free: 7.812 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001134/0.09846, allocations: 0.6454 MB / 340.4 MB, free: 7.164 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003122/0.1016, allocations: 2.071 MB / 342.5 MB, free: 4.969 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002408/0.104, allocations: 3.001 MB / 345.5 MB, free: 1.398 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004371/0.1045, allocations: 266.1 kB / 345.8 MB, free: 1.137 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.02e-05/0.1046, allocations: 97.53 kB / 345.9 MB, free: 1.023 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.1046, allocations: 46.88 kB / 345.9 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of pre-optimization done (n=49): time 2.344e-06/0.1046, allocations: 0 / 345.9 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of matching and sorting (n=49): time 0.001702/0.1063, allocations: 0.7582 MB / 346.7 MB, free: 184 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.321e-05/0.1064, allocations: 55.84 kB / 346.7 MB, free: 116 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001944/0.1066, allocations: 201 kB / 346.9 MB, free: 15.91 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.858e-05/0.1066, allocations: 33.7 kB / 346.9 MB, free: 15.87 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.1067, allocations: 240.1 kB / 347.2 MB, free: 15.63 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000117/0.1069, allocations: 169.5 kB / 347.3 MB, free: 15.46 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001346/0.107, allocations: 94.14 kB / 347.4 MB, free: 15.37 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.1071, allocations: 338.8 kB / 347.8 MB, free: 15.03 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002901/0.1074, allocations: 161 kB / 347.9 MB, free: 14.87 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003702/0.1078, allocations: 283.7 kB / 348.2 MB, free: 14.55 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006765/0.1085, allocations: 478.2 kB / 348.7 MB, free: 14.03 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.1085, allocations: 0 / 348.7 MB, free: 14.03 MB / 302.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001063/0.1096, allocations: 0.5903 MB / 349.3 MB, free: 13.43 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.1096, allocations: 4 kB / 349.3 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.1096, allocations: 4 kB / 349.3 MB, free: 13.42 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003582/0.11, allocations: 80.94 kB / 349.3 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000417/0.1104, allocations: 115.8 kB / 349.5 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00171/0.1121, allocations: 1.778 MB / 351.2 MB, free: 11.31 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002902/0.1124, allocations: 59.31 kB / 351.3 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.599e-05/0.1125, allocations: 23.98 kB / 351.3 MB, free: 11.23 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.0001964/0.1127, allocations: 173.7 kB / 351.5 MB, free: 11.05 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.341e-05/0.1128, allocations: 23.72 kB / 351.5 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001064/0.1138, allocations: 0.5589 MB / 352.1 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.1138, allocations: 8 kB / 352.1 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.1139, allocations: 3.938 kB / 352.1 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.276e-05/0.1139, allocations: 3.984 kB / 352.1 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001773/0.1157, allocations: 1.174 MB / 353.3 MB, free: 9.203 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.1157, allocations: 3.938 kB / 353.3 MB, free: 9.199 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003337/0.116, allocations: 79.91 kB / 353.3 MB, free: 9.121 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002706/0.1163, allocations: 80.86 kB / 353.4 MB, free: 9.039 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.349e-05/0.1163, allocations: 12 kB / 353.4 MB, free: 9.027 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001584/0.1179, allocations: 1.779 MB / 355.2 MB, free: 7.109 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.562e-06/0.1179, allocations: 0 / 355.2 MB, free: 7.109 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001263/0.1192, allocations: 0.818 MB / 356 MB, free: 6.266 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.522e-05/0.1193, allocations: 112.6 kB / 356.1 MB, free: 6.137 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.562e-05/0.1194, allocations: 12 kB / 356.1 MB, free: 6.125 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002413/0.1196, allocations: 19.98 kB / 356.2 MB, free: 6.105 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.571e-05/0.1197, allocations: 36.39 kB / 356.2 MB, free: 6.07 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.561e-05/0.1197, allocations: 12.06 kB / 356.2 MB, free: 6.059 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001235/0.1199, allocations: 155 kB / 356.4 MB, free: 5.906 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1199, allocations: 3.938 kB / 356.4 MB, free: 5.902 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005314/0.1204, allocations: 147.6 kB / 356.5 MB, free: 5.758 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.001633/0.1221, allocations: 1.406 MB / 357.9 MB, free: 4.316 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001161/0.1232, allocations: 0.6127 MB / 358.5 MB, free: 3.691 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.1232, allocations: 0 / 358.5 MB, free: 3.691 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005509/0.1238, allocations: 388.9 kB / 358.9 MB, free: 3.301 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003941/0.1242, allocations: 29.27 kB / 358.9 MB, free: 3.273 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004646/0.1289, allocations: 3.675 MB / 362.6 MB, free: 15.41 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003475/0.1292, allocations: 0.8172 MB / 363.4 MB, free: 14.56 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000218/0.1295, allocations: 59.2 kB / 363.5 MB, free: 14.5 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001864/0.1296, allocations: 147.4 kB / 363.6 MB, free: 14.36 MB / 318.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1297, allocations: 0 / 363.6 MB, free: 14.36 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02921/0.1589, allocations: 7.749 MB / 371.4 MB, free: 6.547 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.234/9.393, allocations: 23.8 kB / 371.4 MB, free: 6.523 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches