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.001471/0.001471, allocations: 101.5 kB / 21.21 MB, free: 0.6289 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.001331/0.001331, allocations: 193.5 kB / 24.49 MB, free: 3.941 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.369/1.369, allocations: 225.7 MB / 253.3 MB, free: 12.82 MB / 206.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ParallelResonance,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ParallelResonance",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 47.92 kB / 371.2 MB, free: 9.668 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2642/0.2656, allocations: 52.19 MB / 423.4 MB, free: 14.37 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.004176/0.2698, allocations: 2.688 MB / 426.1 MB, free: 11.67 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001023/0.2708, allocations: 0.6388 MB / 426.7 MB, free: 11.02 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001328/0.271, allocations: 11.94 kB / 426.7 MB, free: 11.01 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001757/0.2711, allocations: 55.44 kB / 426.8 MB, free: 10.96 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001602/0.2713, allocations: 87.19 kB / 426.8 MB, free: 10.87 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002536/0.2716, allocations: 99.81 kB / 426.9 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004097/0.272, allocations: 382.8 kB / 427.3 MB, free: 10.4 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002439/0.2722, allocations: 124.8 kB / 427.4 MB, free: 10.28 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002076/0.2724, allocations: 155.5 kB / 427.6 MB, free: 10.12 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001951/0.2726, allocations: 163.2 kB / 427.8 MB, free: 9.965 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.873e-05/0.2727, allocations: 32 kB / 427.8 MB, free: 9.934 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.673e-05/0.2727, allocations: 32 kB / 427.8 MB, free: 9.902 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.101e-05/0.2728, allocations: 75.75 kB / 427.9 MB, free: 9.828 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001404/0.2729, allocations: 139.4 kB / 428 MB, free: 9.691 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003955/0.2733, allocations: 390.3 kB / 428.4 MB, free: 9.309 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.2733, allocations: 4 kB / 428.4 MB, free: 9.305 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.2733, allocations: 0 / 428.4 MB, free: 9.305 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.972e-06/0.2733, allocations: 4 kB / 428.4 MB, free: 9.301 MB / 334.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.0009287/0.2743, allocations: 0.5482 MB / 429 MB, free: 8.723 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.2743, allocations: 12.03 kB / 429 MB, free: 8.711 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.936e-05/0.2743, allocations: 8.844 kB / 429 MB, free: 8.699 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.815e-05/0.2744, allocations: 66.72 kB / 429 MB, free: 8.625 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.729e-05/0.2745, allocations: 40.7 kB / 429.1 MB, free: 8.586 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003775/0.2748, allocations: 202 kB / 429.3 MB, free: 8.363 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.405e-05/0.2749, allocations: 21.03 kB / 429.3 MB, free: 8.344 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.18e-05/0.2749, allocations: 40.33 kB / 429.3 MB, free: 8.305 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005611/0.2755, allocations: 337.3 kB / 429.7 MB, free: 7.961 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.2755, allocations: 4 kB / 429.7 MB, free: 7.957 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.724e-05/0.2755, allocations: 8 kB / 429.7 MB, free: 7.949 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.238e-06/0.2755, allocations: 8 kB / 429.7 MB, free: 7.941 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004575/0.276, allocations: 218.5 kB / 429.9 MB, free: 7.727 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00148/0.2775, allocations: 0.9058 MB / 430.8 MB, free: 6.75 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000329/0.2778, allocations: 150.1 kB / 431 MB, free: 6.598 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002722/0.2781, allocations: 120.8 kB / 431.1 MB, free: 6.477 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.2781, allocations: 4 kB / 431.1 MB, free: 6.473 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.2781, allocations: 42.5 kB / 431.1 MB, free: 6.422 MB / 334.1 MB Notification: Performance of pre-optimization done (n=19): time 1.312e-06/0.2781, allocations: 0 / 431.1 MB, free: 6.422 MB / 334.1 MB Notification: Performance of matching and sorting (n=19): time 0.0005999/0.2787, allocations: 232.2 kB / 431.3 MB, free: 6.191 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.2788, allocations: 55.41 kB / 431.4 MB, free: 6.125 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002122/0.279, allocations: 207.2 kB / 431.6 MB, free: 5.91 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.477e-05/0.279, allocations: 29.7 kB / 431.6 MB, free: 5.875 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001887/0.2792, allocations: 200.4 kB / 431.8 MB, free: 5.676 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.373e-05/0.2792, allocations: 87.3 kB / 431.9 MB, free: 5.59 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.302e-05/0.2793, allocations: 49.94 kB / 432 MB, free: 5.531 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001827/0.2795, allocations: 334.8 kB / 432.3 MB, free: 5.195 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001648/0.2797, allocations: 64.53 kB / 432.4 MB, free: 5.133 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002241/0.2799, allocations: 155.2 kB / 432.5 MB, free: 4.949 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003723/0.2803, allocations: 213.3 kB / 432.7 MB, free: 4.707 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2803, allocations: 0 / 432.7 MB, free: 4.707 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004953/0.2808, allocations: 285.2 kB / 433 MB, free: 4.422 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.2808, allocations: 11.98 kB / 433 MB, free: 4.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.2808, allocations: 0 / 433 MB, free: 4.41 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.2808, allocations: 8 kB / 433 MB, free: 4.402 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002976/0.2811, allocations: 67.91 kB / 433.1 MB, free: 4.336 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.2811, allocations: 4 kB / 433.1 MB, free: 4.332 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001569/0.2813, allocations: 39.77 kB / 433.1 MB, free: 4.293 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.88e-05/0.2813, allocations: 8.219 kB / 433.1 MB, free: 4.285 MB / 334.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.0001411/0.2814, allocations: 145.7 kB / 433.3 MB, free: 4.133 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.086e-05/0.2815, allocations: 23.91 kB / 433.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004713/0.282, allocations: 199.3 kB / 433.5 MB, free: 3.906 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.291e-06/0.282, allocations: 4 kB / 433.5 MB, free: 3.902 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.282, allocations: 3.938 kB / 433.5 MB, free: 3.898 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.282, allocations: 0 / 433.5 MB, free: 3.898 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008534/0.2828, allocations: 0.5497 MB / 434 MB, free: 3.293 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.2828, allocations: 4 kB / 434 MB, free: 3.289 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002831/0.2831, allocations: 55.91 kB / 434.1 MB, free: 3.234 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.2831, allocations: 0 / 434.1 MB, free: 3.234 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.013e-05/0.2832, allocations: 8 kB / 434.1 MB, free: 3.227 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.626e-06/0.2832, allocations: 3.984 kB / 434.1 MB, free: 3.223 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2832, allocations: 0 / 434.1 MB, free: 3.223 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005847/0.2838, allocations: 382.8 kB / 434.5 MB, free: 2.824 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.667e-05/0.2838, allocations: 23.8 kB / 434.5 MB, free: 2.801 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.525e-05/0.2838, allocations: 12.05 kB / 434.5 MB, free: 2.789 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001747/0.284, allocations: 12 kB / 434.5 MB, free: 2.777 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.747e-05/0.2841, allocations: 11.97 kB / 434.5 MB, free: 2.766 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.012e-05/0.2841, allocations: 15.94 kB / 434.6 MB, free: 2.75 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001355/0.2842, allocations: 160.6 kB / 434.7 MB, free: 2.594 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2842, allocations: 0 / 434.7 MB, free: 2.594 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003212/0.2845, allocations: 79.78 kB / 434.8 MB, free: 2.516 MB / 334.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.0009561/0.2855, allocations: 0.9068 MB / 435.7 MB, free: 1.574 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004109/0.2859, allocations: 171.4 kB / 435.9 MB, free: 1.41 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.2859, allocations: 8 kB / 435.9 MB, free: 1.402 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001621/0.2861, allocations: 79.33 kB / 436 MB, free: 1.328 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003381/0.2864, allocations: 36.83 kB / 436 MB, free: 1.293 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004001/0.2904, allocations: 2.833 MB / 438.8 MB, free: 14.31 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000148/0.2906, allocations: 159.5 kB / 439 MB, free: 14.14 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.156e-05/0.2906, allocations: 21.94 kB / 439 MB, free: 14.11 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001298/0.2908, allocations: 91.41 kB / 439.1 MB, free: 14.02 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2908, allocations: 4 kB / 439.1 MB, free: 14.02 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02694/0.3177, allocations: 5.01 MB / 444.1 MB, free: 9.191 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.37, allocations: 11.44 kB / 444.1 MB, free: 9.184 MB / 350.1 MB " [Timeout remaining time 648] (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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 14.12805145198945]