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.001334/0.001334, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001723/0.001723, allocations: 212.9 kB / 23.73 MB, free: 4.164 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.473/1.473, allocations: 230.5 MB / 257.4 MB, free: 7.754 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ResonanceCircuits,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_ResonanceCircuits",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 59.89 kB / 377.8 MB, free: 2.734 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2901/0.292, allocations: 53.4 MB / 431.2 MB, free: 6.391 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.007708/0.2997, allocations: 4.78 MB / 435.9 MB, free: 1.594 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00375/0.3035, allocations: 1.477 MB / 437.4 MB, free: 116 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004665/0.3039, allocations: 35.69 kB / 437.5 MB, free: 80 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000526/0.3045, allocations: 225.9 kB / 437.7 MB, free: 15.85 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005274/0.305, allocations: 190 kB / 437.9 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008532/0.3058, allocations: 423.3 kB / 438.3 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001254/0.3071, allocations: 1.118 MB / 439.4 MB, free: 14.13 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005464/0.3076, allocations: 314.6 kB / 439.7 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005523/0.3082, allocations: 418.3 kB / 440.1 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004429/0.3086, allocations: 377.5 kB / 440.5 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001223/0.3088, allocations: 80 kB / 440.6 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002137/0.309, allocations: 108 kB / 440.7 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001827/0.3092, allocations: 219 kB / 440.9 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003859/0.3095, allocations: 397.8 kB / 441.3 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001229/0.3108, allocations: 1.201 MB / 442.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.3108, allocations: 0 / 442.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3108, allocations: 0 / 442.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.589e-05/0.3108, allocations: 4 kB / 442.5 MB, free: 11.02 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.001838/0.3126, allocations: 1.264 MB / 443.7 MB, free: 9.719 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.3127, allocations: 15.98 kB / 443.7 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001655/0.3128, allocations: 152.2 kB / 443.9 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003434/0.3132, allocations: 151.1 kB / 444 MB, free: 9.398 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001104/0.3143, allocations: 0.5859 MB / 444.6 MB, free: 8.785 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.131e-05/0.3144, allocations: 77.94 kB / 444.7 MB, free: 8.707 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001344/0.3145, allocations: 96 kB / 444.8 MB, free: 8.613 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001729/0.3162, allocations: 1.077 MB / 445.9 MB, free: 7.402 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.666e-05/0.3163, allocations: 11.89 kB / 445.9 MB, free: 7.391 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.608e-05/0.3163, allocations: 40 kB / 445.9 MB, free: 7.352 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.996e-05/0.3164, allocations: 27.94 kB / 446 MB, free: 7.324 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001177/0.3175, allocations: 0.5695 MB / 446.5 MB, free: 6.758 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005224/0.3228, allocations: 5.23 MB / 451.8 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005796/0.3233, allocations: 220.9 kB / 452 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003263/0.3237, allocations: 149.6 kB / 452.1 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000101/0.3238, allocations: 8.281 kB / 452.1 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.909e-05/0.3238, allocations: 42.5 kB / 452.2 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.974e-06/0.3238, allocations: 0 / 452.2 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.003974/0.3278, allocations: 1.596 MB / 453.8 MB, free: 15.14 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.462e-05/0.3278, allocations: 89.05 kB / 453.8 MB, free: 15.04 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007583/0.3286, allocations: 0.6567 MB / 454.5 MB, free: 14.36 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.154e-05/0.3286, allocations: 33.7 kB / 454.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004707/0.3291, allocations: 0.62 MB / 455.2 MB, free: 13.7 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001273/0.3292, allocations: 158.7 kB / 455.3 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001753/0.3294, allocations: 130.6 kB / 455.4 MB, free: 13.41 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002147/0.3296, allocations: 390.7 kB / 455.8 MB, free: 13.02 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003149/0.3299, allocations: 149.9 kB / 456 MB, free: 12.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005943/0.3305, allocations: 0.4893 MB / 456.5 MB, free: 12.22 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001156/0.3317, allocations: 0.6986 MB / 457.2 MB, free: 11.36 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.653e-06/0.3317, allocations: 4 kB / 457.2 MB, free: 11.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001254/0.333, allocations: 0.7155 MB / 457.9 MB, free: 10.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.113e-05/0.333, allocations: 8 kB / 457.9 MB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.814e-05/0.333, allocations: 12 kB / 457.9 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.466e-05/0.3331, allocations: 16 kB / 457.9 MB, free: 10.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006608/0.3337, allocations: 208.1 kB / 458.1 MB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.844e-05/0.3337, allocations: 23.94 kB / 458.1 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003471/0.3341, allocations: 31.98 kB / 458.2 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.153e-05/0.3341, allocations: 40 kB / 458.2 MB, free: 10.3 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.000319/0.3345, allocations: 225.5 kB / 458.4 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/0.3346, allocations: 79.48 kB / 458.5 MB, free: 9.996 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001259/0.3347, allocations: 82.61 kB / 458.6 MB, free: 9.914 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.3347, allocations: 7.938 kB / 458.6 MB, free: 9.906 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.3347, allocations: 7.938 kB / 458.6 MB, free: 9.898 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.3347, allocations: 7.984 kB / 458.6 MB, free: 9.891 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002157/0.3369, allocations: 1.229 MB / 459.8 MB, free: 8.598 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.3369, allocations: 4 kB / 459.8 MB, free: 8.594 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004663/0.3374, allocations: 104 kB / 459.9 MB, free: 8.492 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.317e-05/0.3374, allocations: 15.91 kB / 460 MB, free: 8.477 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.74e-05/0.3374, allocations: 8 kB / 460 MB, free: 8.469 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.3374, allocations: 4 kB / 460 MB, free: 8.465 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/0.3374, allocations: 3.938 kB / 460 MB, free: 8.461 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/0.3385, allocations: 0.7052 MB / 460.7 MB, free: 7.723 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/0.3386, allocations: 71.52 kB / 460.7 MB, free: 7.652 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.007e-05/0.3386, allocations: 8 kB / 460.8 MB, free: 7.645 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002832/0.3389, allocations: 23.98 kB / 460.8 MB, free: 7.621 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.294e-05/0.339, allocations: 35.88 kB / 460.8 MB, free: 7.586 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.209e-05/0.339, allocations: 12 kB / 460.8 MB, free: 7.574 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005091/0.3395, allocations: 427 kB / 461.2 MB, free: 7.164 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3395, allocations: 0 / 461.2 MB, free: 7.164 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006403/0.3402, allocations: 140 kB / 461.4 MB, free: 7.027 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.001394/0.3416, allocations: 1.254 MB / 462.6 MB, free: 5.73 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000818/0.3424, allocations: 420.7 kB / 463 MB, free: 5.328 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3424, allocations: 0 / 463 MB, free: 5.328 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002801/0.3427, allocations: 147.7 kB / 463.2 MB, free: 5.184 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005481/0.3432, allocations: 75.3 kB / 463.3 MB, free: 5.105 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008842/0.3521, allocations: 6.161 MB / 469.4 MB, free: 14.46 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004653/0.3525, allocations: 413.4 kB / 469.8 MB, free: 14.02 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003078/0.3528, allocations: 98.05 kB / 469.9 MB, free: 13.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004878/0.3533, allocations: 391.3 kB / 470.3 MB, free: 13.54 MB / 382.1 MB Notification: Performance of SimCode: time 1.402e-06/0.3533, allocations: 3.938 kB / 470.3 MB, free: 13.54 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04478/0.3981, allocations: 12.44 MB / 482.7 MB, free: 1.297 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.75, allocations: 3.938 kB / 482.8 MB, free: 1.293 MB / 382.1 MB " [Timeout remaining time 648] (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: 14.73431706102565]