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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001754/0.001754, allocations: 121.2 kB / 17.79 MB, free: 5.141 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002113/0.002113, allocations: 204.6 kB / 18.74 MB, free: 4.199 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.491/1.491, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001833/0.001833, allocations: 67.89 kB / 358.3 MB, free: 13.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3045/0.3064, allocations: 50.54 MB / 408.9 MB, free: 1.438 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.006623/0.3131, allocations: 5.405 MB / 414.3 MB, free: 12.01 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002793/0.3159, allocations: 1.512 MB / 415.8 MB, free: 10.5 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003639/0.3163, allocations: 27.88 kB / 415.8 MB, free: 10.47 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004447/0.3167, allocations: 213.8 kB / 416 MB, free: 10.26 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004848/0.3172, allocations: 198 kB / 416.2 MB, free: 10.06 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007547/0.318, allocations: 415.4 kB / 416.6 MB, free: 9.656 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001181/0.3192, allocations: 1.13 MB / 417.7 MB, free: 8.516 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000673/0.3199, allocations: 484.2 kB / 418.2 MB, free: 8.023 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005814/0.3205, allocations: 398.3 kB / 418.6 MB, free: 7.633 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004854/0.321, allocations: 441.5 kB / 419 MB, free: 7.199 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001289/0.3211, allocations: 84 kB / 419.1 MB, free: 7.117 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002274/0.3213, allocations: 104 kB / 419.2 MB, free: 7.016 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001882/0.3215, allocations: 211.1 kB / 419.4 MB, free: 6.809 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004396/0.322, allocations: 0.4971 MB / 419.9 MB, free: 6.309 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00125/0.3232, allocations: 1.177 MB / 421.1 MB, free: 5.129 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.3233, allocations: 7.938 kB / 421.1 MB, free: 5.121 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3233, allocations: 0 / 421.1 MB, free: 5.121 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.36e-05/0.3233, allocations: 0 / 421.1 MB, free: 5.121 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: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.001971/0.3253, allocations: 1.351 MB / 422.4 MB, free: 3.719 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/0.3253, allocations: 12.03 kB / 422.5 MB, free: 3.707 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001761/0.3255, allocations: 148.2 kB / 422.6 MB, free: 3.555 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003838/0.3259, allocations: 155.1 kB / 422.8 MB, free: 3.402 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001134/0.327, allocations: 0.6659 MB / 423.4 MB, free: 2.695 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.547e-05/0.3271, allocations: 77.94 kB / 423.5 MB, free: 2.617 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001328/0.3273, allocations: 96 kB / 423.6 MB, free: 2.523 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0017/0.329, allocations: 1.031 MB / 424.6 MB, free: 1.371 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.57e-05/0.329, allocations: 11.89 kB / 424.6 MB, free: 1.359 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.78e-05/0.3291, allocations: 44 kB / 424.7 MB, free: 1.316 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.831e-05/0.3291, allocations: 31.98 kB / 424.7 MB, free: 1.285 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001134/0.3303, allocations: 0.55 MB / 425.3 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00542/0.3357, allocations: 5.494 MB / 430.8 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005818/0.3363, allocations: 236.9 kB / 431 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003222/0.3366, allocations: 161.6 kB / 431.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001504/0.3368, allocations: 85.09 kB / 431.2 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/0.3368, allocations: 38.56 kB / 431.3 MB, free: 10.39 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 2.164e-06/0.3369, allocations: 0 / 431.3 MB, free: 10.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.003911/0.3408, allocations: 1.746 MB / 433 MB, free: 8.547 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.889e-05/0.3408, allocations: 85.05 kB / 433.1 MB, free: 8.445 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000748/0.3416, allocations: 0.649 MB / 433.7 MB, free: 7.781 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.215e-05/0.3416, allocations: 29.7 kB / 433.8 MB, free: 7.746 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004431/0.3421, allocations: 0.6161 MB / 434.4 MB, free: 7.121 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001158/0.3422, allocations: 150.8 kB / 434.5 MB, free: 6.973 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001779/0.3424, allocations: 138.5 kB / 434.7 MB, free: 6.832 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001912/0.3426, allocations: 386.8 kB / 435 MB, free: 6.445 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003249/0.3429, allocations: 153.9 kB / 435.2 MB, free: 6.293 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005585/0.3435, allocations: 497.1 kB / 435.7 MB, free: 5.648 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009175/0.3444, allocations: 0.6982 MB / 436.4 MB, free: 4.789 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.3444, allocations: 4 kB / 436.4 MB, free: 4.785 MB / 350.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001232/0.3457, allocations: 0.7197 MB / 437.1 MB, free: 4.059 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.3457, allocations: 8 kB / 437.1 MB, free: 4.051 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/0.3457, allocations: 12 kB / 437.1 MB, free: 4.039 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.892e-05/0.3458, allocations: 20 kB / 437.1 MB, free: 4.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006088/0.3464, allocations: 207.6 kB / 437.3 MB, free: 3.816 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.114e-05/0.3464, allocations: 19.94 kB / 437.4 MB, free: 3.797 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004596/0.3469, allocations: 36.23 kB / 437.4 MB, free: 3.762 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.101e-05/0.3469, allocations: 43.97 kB / 437.4 MB, free: 3.719 MB / 350.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.0003044/0.3472, allocations: 229.5 kB / 437.7 MB, free: 3.484 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001136/0.3474, allocations: 79.48 kB / 437.7 MB, free: 3.406 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001237/0.3475, allocations: 78.59 kB / 437.8 MB, free: 3.324 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.737e-06/0.3475, allocations: 11.92 kB / 437.8 MB, free: 3.312 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.3475, allocations: 0 / 437.8 MB, free: 3.312 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.3475, allocations: 0 / 437.8 MB, free: 3.312 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002003/0.3495, allocations: 1.312 MB / 439.1 MB, free: 1.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.3495, allocations: 7.922 kB / 439.2 MB, free: 1.922 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004549/0.35, allocations: 103.9 kB / 439.3 MB, free: 1.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.458e-06/0.35, allocations: 7.938 kB / 439.3 MB, free: 1.812 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.473e-05/0.3501, allocations: 8 kB / 439.3 MB, free: 1.805 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.312e-06/0.3501, allocations: 7.938 kB / 439.3 MB, free: 1.797 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.3501, allocations: 0 / 439.3 MB, free: 1.797 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001049/0.3511, allocations: 0.7131 MB / 440 MB, free: 1.051 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001342/0.3513, allocations: 144.6 kB / 440.1 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.813e-05/0.3513, allocations: 8 kB / 440.1 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002823/0.3516, allocations: 28.02 kB / 440.2 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.723e-05/0.3517, allocations: 23.97 kB / 440.2 MB, free: 0.832 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.303e-05/0.3517, allocations: 8 kB / 440.2 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004957/0.3522, allocations: 435 kB / 440.6 MB, free: 416 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3523, allocations: 0 / 440.6 MB, free: 416 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006813/0.3529, allocations: 136 kB / 440.8 MB, free: 280 kB / 350.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.001416/0.3544, allocations: 1.27 MB / 442 MB, free: 14.96 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008606/0.3552, allocations: 436.9 kB / 442.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.3553, allocations: 4 kB / 442.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002909/0.3556, allocations: 151.8 kB / 442.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005364/0.3561, allocations: 79.28 kB / 442.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008573/0.3647, allocations: 6.15 MB / 448.8 MB, free: 7.672 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006711/0.3654, allocations: 1 MB / 449.8 MB, free: 6.645 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002807/0.3657, allocations: 98.05 kB / 449.9 MB, free: 6.547 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004555/0.3661, allocations: 387.3 kB / 450.3 MB, free: 6.168 MB / 366.1 MB Notification: Performance of SimCode: time 9.12e-07/0.3662, allocations: 0 / 450.3 MB, free: 6.168 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03674/0.4029, allocations: 11.71 MB / 462 MB, free: 10.56 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.875/9.278, allocations: 8.016 kB / 462 MB, free: 10.55 MB / 382.1 MB (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 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_ResonanceCircuits.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe 2>&1) 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) Reference file matches