Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008265/0.0008265, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008795/0.0008795, allocations: 174.3 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8861/0.8861, allocations: 177.1 MB / 204.3 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ParallelResonance,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ParallelResonance,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.967e-06/1.02e-05, allocations: 2.281 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.002478/0.002488, allocations: 2.718 MB / 327.3 MB, free: 13.2 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008183/0.003307, allocations: 0.6855 MB / 328 MB, free: 12.5 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001107/0.003417, allocations: 4 kB / 328 MB, free: 12.5 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001078/0.003525, allocations: 59.36 kB / 328.1 MB, free: 12.44 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001086/0.003634, allocations: 95.12 kB / 328.1 MB, free: 12.35 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001667/0.0038, allocations: 95.75 kB / 328.2 MB, free: 12.25 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002625/0.004063, allocations: 394.7 kB / 328.6 MB, free: 11.87 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000158/0.004221, allocations: 116.8 kB / 328.7 MB, free: 11.76 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002993/0.00452, allocations: 227.5 kB / 329 MB, free: 11.54 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.837e-05/0.004619, allocations: 111.7 kB / 329.1 MB, free: 11.43 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.884e-05/0.004647, allocations: 32 kB / 329.1 MB, free: 11.39 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.674e-05/0.004674, allocations: 32 kB / 329.1 MB, free: 11.36 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.868e-05/0.004713, allocations: 79.67 kB / 329.2 MB, free: 11.29 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.108e-05/0.004784, allocations: 119.7 kB / 329.3 MB, free: 11.17 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002473/0.005031, allocations: 394.6 kB / 329.7 MB, free: 10.78 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.005034, allocations: 8 kB / 329.7 MB, free: 10.77 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.005035, allocations: 3.984 kB / 329.7 MB, free: 10.77 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.005039, allocations: 0 / 329.7 MB, free: 10.77 MB / 298.7 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.0005016/0.005541, allocations: 0.5397 MB / 330.3 MB, free: 10.2 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.517e-05/0.005566, allocations: 8.031 kB / 330.3 MB, free: 10.2 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.26e-05/0.005609, allocations: 70.72 kB / 330.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.72e-05/0.005646, allocations: 40.7 kB / 330.4 MB, free: 10.08 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000182/0.005828, allocations: 205.2 kB / 330.6 MB, free: 9.852 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.005843, allocations: 21.03 kB / 330.6 MB, free: 9.828 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.769e-05/0.005871, allocations: 32.38 kB / 330.6 MB, free: 9.797 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003084/0.006179, allocations: 338 kB / 331 MB, free: 9.449 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.006186, allocations: 192 / 331 MB, free: 9.449 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.654e-05/0.006202, allocations: 20.12 kB / 331 MB, free: 9.43 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.006208, allocations: 8 kB / 331 MB, free: 9.422 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002654/0.006474, allocations: 222.4 kB / 331.2 MB, free: 9.207 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008491/0.007323, allocations: 0.9028 MB / 332.1 MB, free: 8.234 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001922/0.007515, allocations: 154.5 kB / 332.3 MB, free: 8.074 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001557/0.007671, allocations: 120.8 kB / 332.4 MB, free: 7.953 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.079e-05/0.007681, allocations: 3.938 kB / 332.4 MB, free: 7.949 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.647e-05/0.007698, allocations: 42.56 kB / 332.4 MB, free: 7.898 MB / 298.7 MB Notification: Performance of pre-optimization done (n=19): time 8.92e-07/0.007699, allocations: 0 / 332.4 MB, free: 7.898 MB / 298.7 MB Notification: Performance of matching and sorting (n=19): time 0.0003012/0.008, allocations: 225.7 kB / 332.6 MB, free: 7.672 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.331e-05/0.008023, allocations: 51.41 kB / 332.7 MB, free: 7.609 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.008152, allocations: 223.1 kB / 332.9 MB, free: 7.375 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.008166, allocations: 29.7 kB / 332.9 MB, free: 7.34 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.381e-05/0.00824, allocations: 200.4 kB / 333.1 MB, free: 7.141 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.88e-05/0.008279, allocations: 71.38 kB / 333.2 MB, free: 7.07 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.954e-05/0.008328, allocations: 53.98 kB / 333.3 MB, free: 7.012 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.434e-05/0.008402, allocations: 334.8 kB / 333.6 MB, free: 6.676 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.314e-05/0.008496, allocations: 68.52 kB / 333.7 MB, free: 6.609 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001262/0.008622, allocations: 139.3 kB / 333.8 MB, free: 6.441 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002217/0.008843, allocations: 241.1 kB / 334 MB, free: 6.172 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.008846, allocations: 0 / 334 MB, free: 6.172 MB / 298.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002737/0.00912, allocations: 265.4 kB / 334.3 MB, free: 5.906 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.009131, allocations: 12 kB / 334.3 MB, free: 5.895 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.009137, allocations: 4 kB / 334.3 MB, free: 5.891 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.009149, allocations: 4 kB / 334.3 MB, free: 5.887 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001771/0.009326, allocations: 75.83 kB / 334.4 MB, free: 5.812 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.483e-06/0.009332, allocations: 4 kB / 334.4 MB, free: 5.809 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.658e-05/0.009409, allocations: 27.78 kB / 334.4 MB, free: 5.781 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.389e-05/0.009423, allocations: 23.97 kB / 334.4 MB, free: 5.758 MB / 298.7 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 8.172e-05/0.009504, allocations: 137.8 kB / 334.6 MB, free: 5.613 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.421e-05/0.009529, allocations: 27.86 kB / 334.6 MB, free: 5.586 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002308/0.009759, allocations: 199.3 kB / 334.8 MB, free: 5.387 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.009762, allocations: 3.938 kB / 334.8 MB, free: 5.383 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.009765, allocations: 4 kB / 334.8 MB, free: 5.379 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.009768, allocations: 3.938 kB / 334.8 MB, free: 5.375 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004646/0.01023, allocations: 0.542 MB / 335.3 MB, free: 4.777 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.01023, allocations: 8.062 kB / 335.3 MB, free: 4.77 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001422/0.01038, allocations: 55.95 kB / 335.4 MB, free: 4.715 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.01038, allocations: 4 kB / 335.4 MB, free: 4.711 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.01039, allocations: 4 kB / 335.4 MB, free: 4.707 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.01039, allocations: 4 kB / 335.4 MB, free: 4.703 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.01039, allocations: 3.938 kB / 335.4 MB, free: 4.699 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003331/0.01073, allocations: 375.1 kB / 335.8 MB, free: 4.312 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.628e-05/0.01075, allocations: 39.88 kB / 335.8 MB, free: 4.273 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.01077, allocations: 0 / 335.8 MB, free: 4.273 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.25e-05/0.01085, allocations: 19.98 kB / 335.8 MB, free: 4.254 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.01089, allocations: 15.97 kB / 335.9 MB, free: 4.238 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.693e-06/0.01089, allocations: 4 kB / 335.9 MB, free: 4.234 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.136e-05/0.01098, allocations: 164.6 kB / 336 MB, free: 4.074 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01098, allocations: 3.938 kB / 336 MB, free: 4.07 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002129/0.01119, allocations: 75.78 kB / 336.1 MB, free: 3.996 MB / 298.7 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.0004792/0.01167, allocations: 0.9056 MB / 337 MB, free: 3.059 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002239/0.01189, allocations: 163.8 kB / 337.2 MB, free: 2.898 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.01189, allocations: 0.5 kB / 337.2 MB, free: 2.898 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.247e-05/0.01199, allocations: 87.78 kB / 337.3 MB, free: 2.812 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002282/0.01221, allocations: 28.72 kB / 337.3 MB, free: 2.785 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002113/0.01433, allocations: 2.674 MB / 340 MB, free: 15.95 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.317e-05/0.01442, allocations: 159.5 kB / 340.1 MB, free: 15.77 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.876e-05/0.01448, allocations: 25.92 kB / 340.1 MB, free: 15.75 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.404e-05/0.01457, allocations: 92.47 kB / 340.2 MB, free: 15.66 MB / 314.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01457, allocations: 0 / 340.2 MB, free: 15.66 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01838/0.03295, allocations: 5.443 MB / 345.7 MB, free: 10.38 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.752/6.785, allocations: 16.03 kB / 345.7 MB, free: 10.37 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_ParallelResonance_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_ParallelResonance.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 8.560759732499719]