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.001344/0.001344, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 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.001465/0.001465, allocations: 208.9 kB / 23.73 MB, free: 4.523 MB / 14.72 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 1.427/1.427, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001489/0.001489, allocations: 51.91 kB / 377.7 MB, free: 2.941 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2429/0.2444, allocations: 53.37 MB / 431.1 MB, free: 6.621 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.004467/0.2488, allocations: 2.696 MB / 433.8 MB, free: 3.914 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00128/0.2501, allocations: 0.691 MB / 434.5 MB, free: 3.219 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001532/0.2503, allocations: 11.94 kB / 434.5 MB, free: 3.207 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000195/0.2505, allocations: 59.42 kB / 434.6 MB, free: 3.148 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001718/0.2506, allocations: 87.2 kB / 434.6 MB, free: 3.062 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002553/0.2509, allocations: 91.81 kB / 434.7 MB, free: 2.973 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004053/0.2513, allocations: 382.9 kB / 435.1 MB, free: 2.598 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002678/0.2516, allocations: 120.8 kB / 435.2 MB, free: 2.48 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002992/0.2519, allocations: 159.5 kB / 435.4 MB, free: 2.324 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002313/0.2521, allocations: 159.2 kB / 435.5 MB, free: 2.168 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.242e-05/0.2522, allocations: 36 kB / 435.6 MB, free: 2.133 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.461e-05/0.2522, allocations: 32 kB / 435.6 MB, free: 2.102 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.433e-05/0.2523, allocations: 75.75 kB / 435.7 MB, free: 2.027 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001554/0.2524, allocations: 139.4 kB / 435.8 MB, free: 1.891 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004379/0.2529, allocations: 394.4 kB / 436.2 MB, free: 1.504 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.2529, allocations: 4 kB / 436.2 MB, free: 1.5 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2529, allocations: 0 / 436.2 MB, free: 1.5 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.2529, allocations: 0 / 436.2 MB, free: 1.5 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.00106/0.254, allocations: 0.5444 MB / 436.7 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.254, allocations: 12.02 kB / 436.7 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.517e-05/0.2541, allocations: 66.73 kB / 436.8 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.065e-05/0.2541, allocations: 40.69 kB / 436.9 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003774/0.2545, allocations: 214.7 kB / 437.1 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.037e-05/0.2545, allocations: 21.03 kB / 437.1 MB, free: 0.543 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.963e-05/0.2546, allocations: 32.38 kB / 437.1 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005734/0.2552, allocations: 341.5 kB / 437.4 MB, free: 168 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.2552, allocations: 0 / 437.4 MB, free: 168 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.955e-05/0.2552, allocations: 12 kB / 437.5 MB, free: 156 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.427e-06/0.2552, allocations: 12 kB / 437.5 MB, free: 144 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004631/0.2557, allocations: 210.5 kB / 437.7 MB, free: 15.94 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001554/0.2573, allocations: 0.9097 MB / 438.6 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003363/0.2576, allocations: 154.6 kB / 438.7 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002764/0.2579, allocations: 127.3 kB / 438.9 MB, free: 14.67 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.43e-05/0.2579, allocations: 7.938 kB / 438.9 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.2579, allocations: 34.56 kB / 438.9 MB, free: 14.62 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.212e-06/0.2579, allocations: 7.938 kB / 438.9 MB, free: 14.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0005673/0.2585, allocations: 217.7 kB / 439.1 MB, free: 14.39 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.06e-05/0.2585, allocations: 59.41 kB / 439.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002206/0.2587, allocations: 219.1 kB / 439.4 MB, free: 14.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.438e-05/0.2588, allocations: 29.7 kB / 439.4 MB, free: 14.06 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001374/0.2589, allocations: 196.4 kB / 439.6 MB, free: 13.86 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.111e-05/0.259, allocations: 67.39 kB / 439.7 MB, free: 13.8 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.342e-05/0.2591, allocations: 53.98 kB / 439.7 MB, free: 13.74 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.2592, allocations: 334.8 kB / 440.1 MB, free: 13.4 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00017/0.2594, allocations: 68.52 kB / 440.1 MB, free: 13.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002252/0.2596, allocations: 147.2 kB / 440.3 MB, free: 13.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000397/0.26, allocations: 237.1 kB / 440.5 MB, free: 12.89 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.26, allocations: 0 / 440.5 MB, free: 12.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005018/0.2605, allocations: 277.3 kB / 440.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.2605, allocations: 8.031 kB / 440.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.2605, allocations: 4 kB / 440.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.2605, allocations: 4 kB / 440.8 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002994/0.2608, allocations: 71.89 kB / 440.9 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.2608, allocations: 4 kB / 440.9 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000161/0.261, allocations: 31.77 kB / 440.9 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.939e-05/0.261, allocations: 12 kB / 440.9 MB, free: 12.48 MB / 350.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.0001421/0.2612, allocations: 145.7 kB / 441.1 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.971e-05/0.2612, allocations: 27.8 kB / 441.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000425/0.2616, allocations: 203.3 kB / 441.3 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.2616, allocations: 4 kB / 441.3 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.2616, allocations: 0 / 441.3 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.2617, allocations: 3.984 kB / 441.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008059/0.2625, allocations: 0.5485 MB / 441.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.2625, allocations: 4.062 kB / 441.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002969/0.2628, allocations: 59.91 kB / 441.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.2628, allocations: 0 / 441.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.076e-05/0.2628, allocations: 8 kB / 441.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.2628, allocations: 0 / 441.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.2628, allocations: 4 kB / 441.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000598/0.2634, allocations: 380.2 kB / 442.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.737e-05/0.2634, allocations: 23.92 kB / 442.3 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.257e-05/0.2635, allocations: 8 kB / 442.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001887/0.2636, allocations: 11.98 kB / 442.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.358e-05/0.2637, allocations: 23.91 kB / 442.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.2637, allocations: 4 kB / 442.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001419/0.2639, allocations: 164.5 kB / 442.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2639, allocations: 0 / 442.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003291/0.2642, allocations: 79.78 kB / 442.6 MB, free: 10.71 MB / 350.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.0009049/0.2651, allocations: 0.9057 MB / 443.5 MB, free: 9.773 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003923/0.2655, allocations: 167.8 kB / 443.7 MB, free: 9.609 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.2655, allocations: 0 / 443.7 MB, free: 9.609 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001706/0.2657, allocations: 84.48 kB / 443.7 MB, free: 9.527 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003337/0.266, allocations: 32.59 kB / 443.8 MB, free: 9.496 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003583/0.2696, allocations: 2.814 MB / 446.6 MB, free: 6.531 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001569/0.2697, allocations: 163.4 kB / 446.7 MB, free: 6.355 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.992e-05/0.2698, allocations: 21.95 kB / 446.8 MB, free: 6.332 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001305/0.2699, allocations: 91.41 kB / 446.9 MB, free: 6.242 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.2699, allocations: 0 / 446.9 MB, free: 6.242 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03347/0.3034, allocations: 5.396 MB / 452.3 MB, free: 1.02 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.68/10.98, allocations: 7.25 kB / 452.3 MB, free: 1.016 MB / 350.1 MB " [Timeout remaining time 649] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/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: 13.66307530598715]