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.001262/0.001262, allocations: 107.5 kB / 20.44 MB, free: 1.066 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.002001/0.002001, allocations: 185.9 kB / 23.7 MB, free: 4.191 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.374/1.374, allocations: 225.7 MB / 252.5 MB, free: 12.87 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ParallelResonance,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001544/0.001544, allocations: 47.92 kB / 370.4 MB, free: 9.711 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2333/0.2349, allocations: 52.19 MB / 422.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.004127/0.239, allocations: 2.682 MB / 425.3 MB, free: 11.7 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001122/0.2401, allocations: 0.6405 MB / 425.9 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001374/0.2402, allocations: 7.938 kB / 425.9 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001796/0.2404, allocations: 67.36 kB / 426 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001637/0.2406, allocations: 87.2 kB / 426.1 MB, free: 10.89 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002581/0.2408, allocations: 99.81 kB / 426.2 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003967/0.2412, allocations: 378.8 kB / 426.5 MB, free: 10.43 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002475/0.2415, allocations: 116.8 kB / 426.6 MB, free: 10.31 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002223/0.2417, allocations: 151.5 kB / 426.8 MB, free: 10.16 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001771/0.2419, allocations: 135.3 kB / 426.9 MB, free: 10.03 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.466e-05/0.2419, allocations: 32 kB / 427 MB, free: 10 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.873e-05/0.242, allocations: 32 kB / 427 MB, free: 9.969 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.585e-05/0.2421, allocations: 79.67 kB / 427.1 MB, free: 9.891 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001414/0.2422, allocations: 143.4 kB / 427.2 MB, free: 9.75 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004257/0.2426, allocations: 394.3 kB / 427.6 MB, free: 9.363 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2426, allocations: 0 / 427.6 MB, free: 9.363 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.2426, allocations: 0 / 427.6 MB, free: 9.363 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.121e-05/0.2427, allocations: 0 / 427.6 MB, free: 9.363 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.0009328/0.2436, allocations: 0.5482 MB / 428.1 MB, free: 8.785 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.2436, allocations: 8.031 kB / 428.1 MB, free: 8.777 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.786e-05/0.2437, allocations: 70.72 kB / 428.2 MB, free: 8.699 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.489e-05/0.2438, allocations: 36.7 kB / 428.3 MB, free: 8.664 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003429/0.2441, allocations: 210 kB / 428.5 MB, free: 8.434 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.69e-05/0.2441, allocations: 21.03 kB / 428.5 MB, free: 8.41 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.738e-05/0.2442, allocations: 36.33 kB / 428.5 MB, free: 8.375 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005709/0.2448, allocations: 337.5 kB / 428.8 MB, free: 8.031 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.2448, allocations: 0 / 428.8 MB, free: 8.031 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.012e-05/0.2448, allocations: 16 kB / 428.9 MB, free: 8.016 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.426e-05/0.2448, allocations: 8 kB / 428.9 MB, free: 8.008 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004687/0.2453, allocations: 218.5 kB / 429.1 MB, free: 7.797 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001558/0.2468, allocations: 0.9097 MB / 430 MB, free: 6.812 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003383/0.2472, allocations: 150.5 kB / 430.1 MB, free: 6.656 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002739/0.2475, allocations: 124.7 kB / 430.3 MB, free: 6.531 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.2475, allocations: 4 kB / 430.3 MB, free: 6.527 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.158e-05/0.2475, allocations: 34.56 kB / 430.3 MB, free: 6.484 MB / 334.1 MB Notification: Performance of pre-optimization done (n=19): time 1.382e-06/0.2475, allocations: 0 / 430.3 MB, free: 6.484 MB / 334.1 MB Notification: Performance of matching and sorting (n=19): time 0.0005837/0.2481, allocations: 236.2 kB / 430.5 MB, free: 6.25 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.663e-05/0.2481, allocations: 55.34 kB / 430.6 MB, free: 6.184 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002279/0.2484, allocations: 219.1 kB / 430.8 MB, free: 5.957 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.309e-05/0.2484, allocations: 29.7 kB / 430.8 MB, free: 5.922 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001337/0.2485, allocations: 188.4 kB / 431 MB, free: 5.734 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.205e-05/0.2486, allocations: 79.33 kB / 431.1 MB, free: 5.656 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.726e-05/0.2487, allocations: 49.98 kB / 431.1 MB, free: 5.598 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.2488, allocations: 330.8 kB / 431.5 MB, free: 5.266 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001669/0.249, allocations: 64.53 kB / 431.5 MB, free: 5.203 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002385/0.2492, allocations: 159.2 kB / 431.7 MB, free: 5.016 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004054/0.2496, allocations: 217.2 kB / 431.9 MB, free: 4.77 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.2496, allocations: 8 kB / 431.9 MB, free: 4.762 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000506/0.2501, allocations: 277.1 kB / 432.2 MB, free: 4.484 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.2502, allocations: 4 kB / 432.2 MB, free: 4.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.2502, allocations: 7.938 kB / 432.2 MB, free: 4.473 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.2502, allocations: 4 kB / 432.2 MB, free: 4.469 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002926/0.2505, allocations: 76.16 kB / 432.3 MB, free: 4.395 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/0.2505, allocations: 7.984 kB / 432.3 MB, free: 4.387 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001544/0.2506, allocations: 27.78 kB / 432.3 MB, free: 4.359 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.673e-05/0.2507, allocations: 8 kB / 432.3 MB, free: 4.352 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.0001433/0.2508, allocations: 153.7 kB / 432.4 MB, free: 4.191 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.33e-05/0.2509, allocations: 23.8 kB / 432.5 MB, free: 4.168 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004196/0.2513, allocations: 201.2 kB / 432.7 MB, free: 3.965 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-06/0.2513, allocations: 4 kB / 432.7 MB, free: 3.961 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.2513, allocations: 0 / 432.7 MB, free: 3.961 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.2513, allocations: 0 / 432.7 MB, free: 3.961 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008391/0.2521, allocations: 0.5497 MB / 433.2 MB, free: 3.355 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.2521, allocations: 0 / 433.2 MB, free: 3.355 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002719/0.2524, allocations: 55.91 kB / 433.3 MB, free: 3.301 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.753e-06/0.2524, allocations: 7.984 kB / 433.3 MB, free: 3.293 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/0.2524, allocations: 8.062 kB / 433.3 MB, free: 3.285 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.2524, allocations: 4 kB / 433.3 MB, free: 3.281 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2524, allocations: 0 / 433.3 MB, free: 3.281 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006204/0.253, allocations: 373.3 kB / 433.7 MB, free: 2.891 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.167e-05/0.2531, allocations: 23.84 kB / 433.7 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.1e-05/0.2531, allocations: 4.062 kB / 433.7 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001843/0.2533, allocations: 23.98 kB / 433.7 MB, free: 2.84 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.736e-05/0.2534, allocations: 7.984 kB / 433.7 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.2534, allocations: 12.11 kB / 433.7 MB, free: 2.82 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001546/0.2535, allocations: 160.5 kB / 433.9 MB, free: 2.664 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2535, allocations: 0 / 433.9 MB, free: 2.664 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003295/0.2539, allocations: 79.78 kB / 434 MB, free: 2.586 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.0009457/0.2548, allocations: 0.9205 MB / 434.9 MB, free: 1.633 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004128/0.2552, allocations: 167.8 kB / 435.1 MB, free: 1.469 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.2552, allocations: 7.938 kB / 435.1 MB, free: 1.461 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001678/0.2554, allocations: 79.33 kB / 435.1 MB, free: 1.387 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003384/0.2557, allocations: 33.22 kB / 435.2 MB, free: 1.355 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003568/0.2593, allocations: 2.821 MB / 438 MB, free: 14.39 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001573/0.2594, allocations: 159.5 kB / 438.1 MB, free: 14.21 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.544e-05/0.2595, allocations: 29.92 kB / 438.2 MB, free: 14.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001331/0.2597, allocations: 87.41 kB / 438.3 MB, free: 14.1 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2597, allocations: 3.938 kB / 438.3 MB, free: 14.09 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03308/0.2928, allocations: 5.309 MB / 443.6 MB, free: 8.953 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/11, allocations: 6.094 kB / 443.6 MB, free: 8.949 MB / 350.1 MB " [Timeout remaining time 649] (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: 13.575200882740319]