Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.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.001307/0.001307, allocations: 107.6 kB / 21.18 MB, free: 460 kB / 14.72 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.001486/0.001486, allocations: 218.8 kB / 24.48 MB, free: 3.805 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.37/1.37, allocations: 207.7 MB / 235.3 MB, free: 9.812 MB / 190.1 MB " [Timeout remaining time 178] 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.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.ResonanceCircuits,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ResonanceCircuits",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ResonanceCircuits,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ResonanceCircuits",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001792/0.001792, allocations: 58.58 kB / 347.2 MB, free: 9.867 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2341/0.2359, allocations: 49.15 MB / 396.4 MB, free: 8.859 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.005318/0.2412, allocations: 4.711 MB / 401.1 MB, free: 5.699 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002846/0.244, allocations: 1.442 MB / 402.5 MB, free: 4.672 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004385/0.2445, allocations: 33.38 kB / 402.6 MB, free: 4.656 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004427/0.2449, allocations: 217.9 kB / 402.8 MB, free: 4.512 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004861/0.2454, allocations: 193.5 kB / 403 MB, free: 4.363 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007581/0.2461, allocations: 404.8 kB / 403.4 MB, free: 4.152 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009723/0.2471, allocations: 1.122 MB / 404.5 MB, free: 3.594 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004336/0.2476, allocations: 315.2 kB / 404.8 MB, free: 3.406 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003808/0.2479, allocations: 415.9 kB / 405.2 MB, free: 3.199 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003702/0.2483, allocations: 378 kB / 405.6 MB, free: 3.004 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001142/0.2484, allocations: 83.94 kB / 405.6 MB, free: 3.004 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001851/0.2486, allocations: 95.56 kB / 405.7 MB, free: 3 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001361/0.2487, allocations: 215 kB / 405.9 MB, free: 2.852 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002931/0.249, allocations: 400.8 kB / 406.3 MB, free: 2.621 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001101/0.2501, allocations: 1.196 MB / 407.5 MB, free: 2.082 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2501, allocations: 0 / 407.5 MB, free: 2.082 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.2501, allocations: 0 / 407.5 MB, free: 2.082 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.738e-05/0.2502, allocations: 2.062 kB / 407.5 MB, free: 2.082 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.001596/0.2518, allocations: 1.269 MB / 408.8 MB, free: 1.234 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.2518, allocations: 12.95 kB / 408.8 MB, free: 1.23 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001322/0.2519, allocations: 152.8 kB / 409 MB, free: 1.129 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001428/0.2521, allocations: 132.3 kB / 409.1 MB, free: 1.059 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00092/0.253, allocations: 0.5672 MB / 409.7 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.641e-05/0.253, allocations: 77.81 kB / 409.7 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/0.2531, allocations: 98.09 kB / 409.8 MB, free: 0.625 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001504/0.2546, allocations: 1.084 MB / 410.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.478e-05/0.2547, allocations: 7.344 kB / 410.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.722e-05/0.2548, allocations: 43.28 kB / 411 MB, free: 15.83 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.717e-05/0.2548, allocations: 30.22 kB / 411 MB, free: 15.82 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001144/0.2559, allocations: 0.5573 MB / 411.6 MB, free: 15.55 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005174/0.2611, allocations: 5.219 MB / 416.8 MB, free: 10.7 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005438/0.2616, allocations: 229 kB / 417 MB, free: 10.56 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003139/0.262, allocations: 152.6 kB / 417.1 MB, free: 10.48 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001035/0.2621, allocations: 15.03 kB / 417.2 MB, free: 10.47 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.017e-05/0.2621, allocations: 37.19 kB / 417.2 MB, free: 10.43 MB / 334.1 MB Notification: Performance of pre-optimization done (n=28): time 2.464e-06/0.2621, allocations: 0 / 417.2 MB, free: 10.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.003735/0.2658, allocations: 1.589 MB / 418.8 MB, free: 9.383 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.189e-05/0.2659, allocations: 90.36 kB / 418.9 MB, free: 9.281 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007182/0.2666, allocations: 0.6578 MB / 419.5 MB, free: 8.883 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.973e-05/0.2666, allocations: 31.11 kB / 419.6 MB, free: 8.848 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004473/0.2671, allocations: 0.6203 MB / 420.2 MB, free: 8.289 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001215/0.2672, allocations: 153.3 kB / 420.3 MB, free: 8.156 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001787/0.2674, allocations: 135.3 kB / 420.5 MB, free: 8.07 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001949/0.2676, allocations: 387.7 kB / 420.8 MB, free: 7.699 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003022/0.2679, allocations: 153.8 kB / 421 MB, free: 7.629 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005471/0.2684, allocations: 498.5 kB / 421.5 MB, free: 7.105 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009902/0.2694, allocations: 0.7108 MB / 422.2 MB, free: 6.445 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.2694, allocations: 2.562 kB / 422.2 MB, free: 6.445 MB / 334.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001145/0.2706, allocations: 0.7067 MB / 422.9 MB, free: 6.09 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/0.2706, allocations: 14.48 kB / 422.9 MB, free: 6.086 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.641e-05/0.2706, allocations: 12.38 kB / 422.9 MB, free: 6.086 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.625e-05/0.2706, allocations: 16.5 kB / 422.9 MB, free: 6.086 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006044/0.2712, allocations: 204.4 kB / 423.1 MB, free: 6.031 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.438e-05/0.2713, allocations: 24.7 kB / 423.2 MB, free: 6.023 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003618/0.2716, allocations: 33.95 kB / 423.2 MB, free: 6.008 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.562e-05/0.2717, allocations: 36.16 kB / 423.2 MB, free: 6.004 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (96): * Single equations (assignments): 96 * 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.0003178/0.272, allocations: 229.4 kB / 423.5 MB, free: 5.812 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001151/0.2721, allocations: 79.92 kB / 423.5 MB, free: 5.77 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001172/0.2722, allocations: 77.91 kB / 423.6 MB, free: 5.711 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-06/0.2722, allocations: 9.219 kB / 423.6 MB, free: 5.707 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.2722, allocations: 0 / 423.6 MB, free: 5.707 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.2722, allocations: 1.25 kB / 423.6 MB, free: 5.707 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002039/0.2743, allocations: 1.233 MB / 424.9 MB, free: 4.816 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.2743, allocations: 1.438 kB / 424.9 MB, free: 4.816 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004327/0.2747, allocations: 104.4 kB / 425 MB, free: 4.789 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.125e-06/0.2747, allocations: 11.69 kB / 425 MB, free: 4.781 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.437e-05/0.2748, allocations: 7.219 kB / 425 MB, free: 4.777 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.733e-06/0.2748, allocations: 7.359 kB / 425 MB, free: 4.773 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.2748, allocations: 2.219 kB / 425 MB, free: 4.773 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001001/0.2758, allocations: 0.7061 MB / 425.7 MB, free: 4.285 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001212/0.2759, allocations: 75.8 kB / 425.8 MB, free: 4.23 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.261e-05/0.276, allocations: 14.84 kB / 425.8 MB, free: 4.219 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002843/0.2762, allocations: 21.39 kB / 425.8 MB, free: 4.211 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.581e-05/0.2763, allocations: 27.2 kB / 425.8 MB, free: 4.195 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.541e-05/0.2763, allocations: 20.33 kB / 425.8 MB, free: 4.184 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004873/0.2768, allocations: 419.1 kB / 426.3 MB, free: 3.949 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2768, allocations: 0 / 426.3 MB, free: 3.949 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006835/0.2775, allocations: 141.1 kB / 426.4 MB, free: 3.93 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (inductor2.i,capacitor2.v,inductor1.i,capacitor1.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 (40): * Single equations (assignments): 40 * 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.001374/0.2789, allocations: 1.259 MB / 427.7 MB, free: 2.703 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008594/0.2797, allocations: 421.6 kB / 428.1 MB, free: 2.293 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.2797, allocations: 0 / 428.1 MB, free: 2.293 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002756/0.28, allocations: 139.8 kB / 428.2 MB, free: 2.156 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005761/0.2806, allocations: 80.62 kB / 428.3 MB, free: 2.074 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00883/0.2894, allocations: 6.138 MB / 434.4 MB, free: 11.45 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004458/0.2899, allocations: 413.3 kB / 434.8 MB, free: 11.02 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002902/0.2902, allocations: 94 kB / 434.9 MB, free: 10.92 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004679/0.2906, allocations: 391.3 kB / 435.3 MB, free: 10.54 MB / 350.1 MB Notification: Performance of SimCode: time 8.32e-07/0.2906, allocations: 4 kB / 435.3 MB, free: 10.54 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04545/0.3361, allocations: 12.39 MB / 447.7 MB, free: 14.08 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.43, allocations: 4 kB / 447.7 MB, free: 14.08 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ResonanceCircuits_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ResonanceCircuits.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ResonanceCircuits/ResonanceCircuits.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.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.226560353301466]