Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ResonanceCircuits.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ResonanceCircuits,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_ResonanceCircuits",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ResonanceCircuits,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_ResonanceCircuits",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001371/0.001371, allocations: 176 kB / 16.72 MB, free: 4.961 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.215/1.215, allocations: 205.4 MB / 222.9 MB, free: 9.008 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006909/0.0006909, allocations: 96.61 kB / 271.2 MB, free: 8.234 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000281/0.0002811, allocations: 12 kB / 327.6 MB, free: 15.78 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1982/0.1985, allocations: 47.58 MB / 375.2 MB, free: 45.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.003926/0.2024, allocations: 4.594 MB / 379.8 MB, free: 41.77 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002036/0.2045, allocations: 1.406 MB / 381.2 MB, free: 40.61 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004602/0.205, allocations: 27.56 kB / 381.2 MB, free: 40.6 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002903/0.2053, allocations: 165.6 kB / 381.4 MB, free: 40.46 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000428/0.2057, allocations: 150.4 kB / 381.5 MB, free: 40.33 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005788/0.2063, allocations: 294.6 kB / 381.8 MB, free: 40.1 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008379/0.2072, allocations: 1.031 MB / 382.8 MB, free: 39.48 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005081/0.2077, allocations: 433.4 kB / 383.3 MB, free: 39.2 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003279/0.208, allocations: 313 kB / 383.6 MB, free: 39.03 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002678/0.2083, allocations: 349.3 kB / 383.9 MB, free: 38.79 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.071e-05/0.2084, allocations: 40.34 kB / 384 MB, free: 38.79 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001475/0.2085, allocations: 51.31 kB / 384 MB, free: 38.78 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.325e-05/0.2086, allocations: 157.8 kB / 384.2 MB, free: 38.66 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002774/0.2089, allocations: 447.2 kB / 384.6 MB, free: 38.34 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004987/0.2094, allocations: 0.7722 MB / 385.4 MB, free: 37.74 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.2094, allocations: 0 / 385.4 MB, free: 37.74 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.2094, allocations: 0 / 385.4 MB, free: 37.74 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.2095, allocations: 1.469 kB / 385.4 MB, free: 37.74 MB / 298.7 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.001397/0.2109, allocations: 1.136 MB / 386.5 MB, free: 36.83 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.2109, allocations: 9.812 kB / 386.5 MB, free: 36.83 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000129/0.211, allocations: 148.3 kB / 386.7 MB, free: 36.71 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001474/0.2112, allocations: 123.8 kB / 386.8 MB, free: 36.64 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000678/0.2119, allocations: 0.6133 MB / 387.4 MB, free: 36.12 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.167e-05/0.212, allocations: 78.38 kB / 387.5 MB, free: 36.09 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001193/0.2121, allocations: 99.88 kB / 387.6 MB, free: 36.05 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001338/0.2134, allocations: 1.031 MB / 388.6 MB, free: 35 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.845e-05/0.2135, allocations: 7.938 kB / 388.6 MB, free: 34.99 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.262e-05/0.2136, allocations: 44 kB / 388.7 MB, free: 34.95 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.777e-05/0.2136, allocations: 28 kB / 388.7 MB, free: 34.92 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000918/0.2145, allocations: 0.5578 MB / 389.2 MB, free: 34.36 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003323/0.2178, allocations: 5.528 MB / 394.8 MB, free: 28.55 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004485/0.2183, allocations: 236.9 kB / 395 MB, free: 28.3 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002429/0.2186, allocations: 161.9 kB / 395.2 MB, free: 28.14 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000125/0.2187, allocations: 93.03 kB / 395.2 MB, free: 28.03 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.2187, allocations: 38.5 kB / 395.3 MB, free: 27.98 MB / 298.7 MB Notification: Performance of pre-optimization done (n=28): time 3.537e-06/0.2187, allocations: 3.984 kB / 395.3 MB, free: 27.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.003237/0.222, allocations: 1.762 MB / 397 MB, free: 26.12 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.656e-05/0.222, allocations: 89.05 kB / 397.1 MB, free: 26.01 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004842/0.2225, allocations: 0.6293 MB / 397.8 MB, free: 25.38 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.2225, allocations: 37.7 kB / 397.8 MB, free: 25.33 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002089/0.2228, allocations: 0.591 MB / 398.4 MB, free: 24.73 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.513e-05/0.2228, allocations: 153.9 kB / 398.5 MB, free: 24.58 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.181e-05/0.2229, allocations: 15.94 kB / 398.6 MB, free: 24.56 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.976e-05/0.2229, allocations: 386.8 kB / 398.9 MB, free: 24.18 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002628/0.2232, allocations: 157.9 kB / 399.1 MB, free: 24.02 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003585/0.2236, allocations: 0.4933 MB / 399.6 MB, free: 23.36 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006528/0.2242, allocations: 0.7008 MB / 400.3 MB, free: 22.5 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.2242, allocations: 7.984 kB / 400.3 MB, free: 22.49 MB / 298.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0009082/0.2252, allocations: 0.7237 MB / 401 MB, free: 21.76 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.2252, allocations: 15.98 kB / 401 MB, free: 21.75 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.2252, allocations: 8 kB / 401 MB, free: 21.74 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.504e-05/0.2252, allocations: 20 kB / 401.1 MB, free: 21.72 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00058/0.2258, allocations: 204.2 kB / 401.3 MB, free: 21.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.775e-05/0.2259, allocations: 23.92 kB / 401.3 MB, free: 21.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003206/0.2262, allocations: 35.98 kB / 401.3 MB, free: 21.46 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.857e-05/0.2262, allocations: 40 kB / 401.4 MB, free: 21.42 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002331/0.2265, allocations: 233.4 kB / 401.6 MB, free: 21.18 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.41e-05/0.2266, allocations: 75.06 kB / 401.7 MB, free: 21.11 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.768e-05/0.2267, allocations: 78.53 kB / 401.7 MB, free: 21.03 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.209e-06/0.2267, allocations: 11.94 kB / 401.7 MB, free: 21.02 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.2267, allocations: 0 / 401.7 MB, free: 21.02 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.2267, allocations: 0 / 401.7 MB, free: 21.02 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001633/0.2283, allocations: 1.351 MB / 403.1 MB, free: 19.6 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.2283, allocations: 0 / 403.1 MB, free: 19.6 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004332/0.2288, allocations: 111.9 kB / 403.2 MB, free: 19.49 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.2288, allocations: 0 / 403.2 MB, free: 19.49 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.629e-05/0.2288, allocations: 23.92 kB / 403.2 MB, free: 19.46 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.2288, allocations: 7.938 kB / 403.2 MB, free: 19.46 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.2289, allocations: 4.062 kB / 403.2 MB, free: 19.45 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008058/0.2297, allocations: 0.7225 MB / 404 MB, free: 18.7 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.903e-05/0.2298, allocations: 144.2 kB / 404.1 MB, free: 18.54 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.235e-05/0.2298, allocations: 11.94 kB / 404.1 MB, free: 18.53 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002769/0.2301, allocations: 27.98 kB / 404.1 MB, free: 18.5 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.779e-05/0.2302, allocations: 24.06 kB / 404.2 MB, free: 18.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.17e-05/0.2302, allocations: 23.97 kB / 404.2 MB, free: 18.45 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003232/0.2305, allocations: 419 kB / 404.6 MB, free: 18.05 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2305, allocations: 0 / 404.6 MB, free: 18.05 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005665/0.2311, allocations: 136 kB / 404.7 MB, free: 17.91 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000922/0.232, allocations: 1.277 MB / 406 MB, free: 16.59 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006287/0.2327, allocations: 447.1 kB / 406.4 MB, free: 16.16 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2327, allocations: 0 / 406.4 MB, free: 16.16 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002292/0.2329, allocations: 165 kB / 406.6 MB, free: 16 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006307/0.2336, allocations: 71.3 kB / 406.7 MB, free: 15.93 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005081/0.2386, allocations: 4.714 MB / 411.4 MB, free: 10.93 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003645/0.2391, allocations: 1.011 MB / 412.4 MB, free: 9.891 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003516/0.2394, allocations: 391.3 kB / 412.8 MB, free: 9.508 MB / 298.7 MB Notification: Performance of SimCode: time 1.212e-06/0.2394, allocations: 0 / 412.8 MB, free: 9.508 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.305/3.544, allocations: 12.04 MB / 424.8 MB, free: 13.44 MB / 314.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ResonanceCircuits.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ResonanceCircuits_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_ResonanceCircuits_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_ResonanceCircuits.fmu > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ResonanceCircuits_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ResonanceCircuits/ResonanceCircuits.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ResonanceCircuits.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches