Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001311/0.001311, allocations: 111.5 kB / 21.22 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001577/0.001577, allocations: 209.2 kB / 24.51 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.48/1.48, allocations: 230.5 MB / 258.2 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ResonanceCircuits,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_ResonanceCircuits",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ResonanceCircuits,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_ResonanceCircuits",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001862/0.001862, allocations: 59.91 kB / 378.5 MB, free: 2.789 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.25/0.2519, allocations: 53.4 MB / 431.9 MB, free: 6.441 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.006062/0.2579, allocations: 4.786 MB / 436.7 MB, free: 1.641 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00267/0.2606, allocations: 1.465 MB / 438.2 MB, free: 176 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003654/0.261, allocations: 35.69 kB / 438.2 MB, free: 140 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004507/0.2614, allocations: 217.9 kB / 438.4 MB, free: 15.92 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004833/0.2619, allocations: 198 kB / 438.6 MB, free: 15.72 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000734/0.2626, allocations: 423.3 kB / 439 MB, free: 15.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001113/0.2637, allocations: 1.118 MB / 440.2 MB, free: 14.19 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005143/0.2643, allocations: 336.9 kB / 440.5 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005174/0.2648, allocations: 422.2 kB / 440.9 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004532/0.2652, allocations: 429.6 kB / 441.3 MB, free: 13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001136/0.2653, allocations: 84 kB / 441.4 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001926/0.2655, allocations: 107.9 kB / 441.5 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001758/0.2657, allocations: 219 kB / 441.7 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003556/0.2661, allocations: 397.8 kB / 442.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001198/0.2673, allocations: 1.201 MB / 443.3 MB, free: 11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.227e-06/0.2673, allocations: 0 / 443.3 MB, free: 11 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2673, allocations: 4 kB / 443.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.186e-05/0.2673, allocations: 4 kB / 443.3 MB, free: 10.99 MB / 350.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.001797/0.2691, allocations: 1.263 MB / 444.6 MB, free: 9.691 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.2691, allocations: 12.03 kB / 444.6 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.739e-05/0.2692, allocations: 26 kB / 444.6 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001514/0.2693, allocations: 156.2 kB / 444.8 MB, free: 9.492 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003485/0.2697, allocations: 151.1 kB / 444.9 MB, free: 9.344 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/0.2707, allocations: 0.5859 MB / 445.5 MB, free: 8.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.927e-05/0.2707, allocations: 74 kB / 445.6 MB, free: 8.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000123/0.2709, allocations: 100 kB / 445.7 MB, free: 8.562 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001695/0.2726, allocations: 1.077 MB / 446.7 MB, free: 7.348 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.129e-05/0.2726, allocations: 11.89 kB / 446.8 MB, free: 7.336 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.605e-05/0.2727, allocations: 44 kB / 446.8 MB, free: 7.293 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.227e-05/0.2727, allocations: 24 kB / 446.8 MB, free: 7.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001143/0.2738, allocations: 0.5578 MB / 447.4 MB, free: 6.715 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005168/0.279, allocations: 5.23 MB / 452.6 MB, free: 1.199 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005732/0.2796, allocations: 216.9 kB / 452.8 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003053/0.2799, allocations: 149.7 kB / 453 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.716e-05/0.28, allocations: 12.2 kB / 453 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.517e-05/0.28, allocations: 42.56 kB / 453 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 2.204e-06/0.28, allocations: 3.938 kB / 453 MB, free: 0.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.003929/0.2839, allocations: 1.602 MB / 454.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.373e-05/0.284, allocations: 81.11 kB / 454.7 MB, free: 14.99 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007396/0.2847, allocations: 0.6373 MB / 455.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.678e-05/0.2848, allocations: 37.7 kB / 455.4 MB, free: 14.3 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004457/0.2852, allocations: 0.62 MB / 456 MB, free: 13.67 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001205/0.2853, allocations: 154.7 kB / 456.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001817/0.2855, allocations: 138.6 kB / 456.3 MB, free: 13.38 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001913/0.2857, allocations: 386.8 kB / 456.7 MB, free: 12.99 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003272/0.286, allocations: 153.9 kB / 456.8 MB, free: 12.84 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006037/0.2866, allocations: 497.1 kB / 457.3 MB, free: 12.2 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009496/0.2876, allocations: 0.6992 MB / 458 MB, free: 11.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.625e-06/0.2876, allocations: 4 kB / 458 MB, free: 11.33 MB / 366.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001202/0.2888, allocations: 0.7157 MB / 458.7 MB, free: 10.61 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.504e-05/0.2888, allocations: 12 kB / 458.7 MB, free: 10.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.494e-05/0.2888, allocations: 12 kB / 458.7 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.11e-05/0.2889, allocations: 19.94 kB / 458.8 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000632/0.2895, allocations: 195.7 kB / 459 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.319e-05/0.2895, allocations: 24.27 kB / 459 MB, free: 10.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003732/0.2899, allocations: 43.98 kB / 459 MB, free: 10.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.846e-05/0.29, allocations: 36 kB / 459.1 MB, free: 10.27 MB / 366.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.0003236/0.2903, allocations: 229.5 kB / 459.3 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.2904, allocations: 79.48 kB / 459.4 MB, free: 9.961 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001236/0.2905, allocations: 74.67 kB / 459.4 MB, free: 9.887 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.2905, allocations: 7.938 kB / 459.4 MB, free: 9.879 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.2905, allocations: 0 / 459.4 MB, free: 9.879 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.847e-06/0.2905, allocations: 7.984 kB / 459.4 MB, free: 9.871 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002073/0.2926, allocations: 1.237 MB / 460.7 MB, free: 8.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.623e-06/0.2926, allocations: 7.984 kB / 460.7 MB, free: 8.562 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004562/0.2931, allocations: 100 kB / 460.8 MB, free: 8.465 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.023e-06/0.2931, allocations: 7.938 kB / 460.8 MB, free: 8.457 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.809e-05/0.2931, allocations: 11.98 kB / 460.8 MB, free: 8.445 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.2931, allocations: 7.938 kB / 460.8 MB, free: 8.438 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.2931, allocations: 4 kB / 460.8 MB, free: 8.434 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/0.2941, allocations: 0.7013 MB / 461.5 MB, free: 7.699 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.726e-05/0.2942, allocations: 75.52 kB / 461.6 MB, free: 7.625 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.18e-05/0.2943, allocations: 8 kB / 461.6 MB, free: 7.617 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000288/0.2946, allocations: 19.98 kB / 461.6 MB, free: 7.598 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.057e-05/0.2946, allocations: 31.94 kB / 461.7 MB, free: 7.566 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.36e-05/0.2947, allocations: 12 kB / 461.7 MB, free: 7.555 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00048/0.2952, allocations: 427 kB / 462.1 MB, free: 7.141 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2952, allocations: 0 / 462.1 MB, free: 7.141 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006383/0.2958, allocations: 139.9 kB / 462.2 MB, free: 7.004 MB / 366.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.001354/0.2971, allocations: 1.254 MB / 463.5 MB, free: 5.707 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008436/0.298, allocations: 417.7 kB / 463.9 MB, free: 5.305 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.298, allocations: 0.6875 kB / 463.9 MB, free: 5.305 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002792/0.2983, allocations: 155.8 kB / 464 MB, free: 5.152 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005566/0.2988, allocations: 77.78 kB / 464.1 MB, free: 5.078 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008289/0.3071, allocations: 6.155 MB / 470.3 MB, free: 14.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000425/0.3075, allocations: 417.4 kB / 470.7 MB, free: 13.99 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002696/0.3078, allocations: 94.05 kB / 470.8 MB, free: 13.9 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004794/0.3083, allocations: 395.3 kB / 471.2 MB, free: 13.51 MB / 382.1 MB Notification: Performance of SimCode: time 8.61e-07/0.3083, allocations: 4 kB / 471.2 MB, free: 13.51 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03867/0.347, allocations: 12.31 MB / 483.5 MB, free: 1.398 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12/12.34, allocations: 8.047 kB / 483.5 MB, free: 1.391 MB / 382.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_ResonanceCircuits_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_ResonanceCircuits.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ResonanceCircuits/ResonanceCircuits.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 15.816894709016196]