Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingResistor.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.HeatingResistor,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_HeatingResistor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingResistor,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_HeatingResistor",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.0009101/0.0009102, allocations: 175 kB / 16.72 MB, free: 5.082 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.307/1.307, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.0007707/0.0007706, allocations: 95.44 kB / 271.2 MB, free: 8.238 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002853/0.0002855, allocations: 8 kB / 327.6 MB, free: 15.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2236/0.2239, allocations: 47.58 MB / 375.2 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingResistor): time 0.001986/0.2259, allocations: 1.791 MB / 377 MB, free: 44 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007662/0.2267, allocations: 476.2 kB / 377.4 MB, free: 43.62 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.025e-05/0.2268, allocations: 2.688 kB / 377.4 MB, free: 43.62 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.147e-05/0.2269, allocations: 17.8 kB / 377.5 MB, free: 43.61 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.671e-05/0.227, allocations: 40.12 kB / 377.5 MB, free: 43.57 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001855/0.2272, allocations: 33.45 kB / 377.5 MB, free: 43.55 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001501/0.2274, allocations: 145.3 kB / 377.7 MB, free: 43.46 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000145/0.2275, allocations: 42.25 kB / 377.7 MB, free: 43.44 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.881e-05/0.2276, allocations: 56.16 kB / 377.8 MB, free: 43.41 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.839e-05/0.2277, allocations: 54.95 kB / 377.8 MB, free: 43.37 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.197e-05/0.2277, allocations: 7.469 kB / 377.8 MB, free: 43.37 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.824e-05/0.2278, allocations: 12.28 kB / 377.8 MB, free: 43.37 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.024e-05/0.2278, allocations: 15.92 kB / 377.9 MB, free: 43.36 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.326e-05/0.2279, allocations: 91.73 kB / 378 MB, free: 43.28 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001483/0.2281, allocations: 116.4 kB / 378.1 MB, free: 43.2 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.2281, allocations: 3.938 kB / 378.1 MB, free: 43.2 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2281, allocations: 0 / 378.1 MB, free: 43.2 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.2281, allocations: 1.062 kB / 378.1 MB, free: 43.2 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0004945/0.2286, allocations: 424.2 kB / 378.5 MB, free: 42.78 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.2287, allocations: 8.75 kB / 378.5 MB, free: 42.78 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.635e-05/0.2287, allocations: 42.98 kB / 378.5 MB, free: 42.73 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.387e-05/0.2288, allocations: 17.09 kB / 378.6 MB, free: 42.72 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001679/0.229, allocations: 215.2 kB / 378.8 MB, free: 42.49 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.229, allocations: 9.484 kB / 378.8 MB, free: 42.48 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.309e-05/0.229, allocations: 16.03 kB / 378.8 MB, free: 42.48 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002388/0.2293, allocations: 118.5 kB / 378.9 MB, free: 42.4 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.2293, allocations: 0 / 378.9 MB, free: 42.4 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.2293, allocations: 5.469 kB / 378.9 MB, free: 42.39 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.2293, allocations: 2.375 kB / 378.9 MB, free: 42.39 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001814/0.2295, allocations: 85.81 kB / 379 MB, free: 42.36 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007389/0.2303, allocations: 0.61 MB / 379.6 MB, free: 41.75 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002915/0.2306, allocations: 92.03 kB / 379.7 MB, free: 41.7 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.627e-05/0.2306, allocations: 36.09 kB / 379.7 MB, free: 41.68 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.419e-05/0.2307, allocations: 1.438 kB / 379.7 MB, free: 41.68 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.403e-05/0.2307, allocations: 30.56 kB / 379.8 MB, free: 41.64 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.024e-06/0.2307, allocations: 1.438 kB / 379.8 MB, free: 41.64 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0006532/0.2314, allocations: 279.6 kB / 380 MB, free: 41.42 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.374e-05/0.2314, allocations: 52.31 kB / 380.1 MB, free: 41.36 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.2315, allocations: 146.8 kB / 380.2 MB, free: 41.23 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.055e-05/0.2315, allocations: 27.3 kB / 380.3 MB, free: 41.2 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.485e-05/0.2316, allocations: 126.6 kB / 380.4 MB, free: 41.08 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.359e-05/0.2316, allocations: 18.25 kB / 380.4 MB, free: 41.06 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-06/0.2316, allocations: 0 / 380.4 MB, free: 41.06 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.09e-05/0.2316, allocations: 321.3 kB / 380.7 MB, free: 40.74 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.232e-05/0.2317, allocations: 25.86 kB / 380.7 MB, free: 40.73 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.907e-05/0.2318, allocations: 43.22 kB / 380.8 MB, free: 40.7 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001257/0.2319, allocations: 76.48 kB / 380.9 MB, free: 40.64 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.2319, allocations: 4.906 kB / 380.9 MB, free: 40.64 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002581/0.2322, allocations: 138.1 kB / 381 MB, free: 40.55 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.2322, allocations: 8.797 kB / 381 MB, free: 40.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.2322, allocations: 1.188 kB / 381 MB, free: 40.54 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001877/0.2324, allocations: 42.41 kB / 381 MB, free: 40.52 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.809e-05/0.2325, allocations: 11.67 kB / 381.1 MB, free: 40.51 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001165/0.2337, allocations: 1.521 MB / 382.6 MB, free: 39 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.035e-05/0.2338, allocations: 12.84 kB / 382.6 MB, free: 38.99 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.2338, allocations: 2.562 kB / 382.6 MB, free: 38.99 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 4 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001057/0.2339, allocations: 120 kB / 382.7 MB, free: 38.87 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.14e-05/0.2339, allocations: 12.75 kB / 382.7 MB, free: 38.86 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.383e-05/0.234, allocations: 18.73 kB / 382.7 MB, free: 38.84 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.234, allocations: 1.094 kB / 382.7 MB, free: 38.84 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.234, allocations: 384 / 382.7 MB, free: 38.84 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-06/0.234, allocations: 1.219 kB / 382.7 MB, free: 38.84 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000167/0.2342, allocations: 214.8 kB / 383 MB, free: 38.61 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-06/0.2342, allocations: 0 / 383 MB, free: 38.61 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.802e-05/0.2342, allocations: 7.75 kB / 383 MB, free: 38.61 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001143/0.2343, allocations: 41.39 kB / 383 MB, free: 38.58 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.2344, allocations: 5.062 kB / 383 MB, free: 38.57 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008908/0.2352, allocations: 1.497 MB / 384.5 MB, free: 37.08 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2353, allocations: 0 / 384.5 MB, free: 37.08 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002856/0.2356, allocations: 220.6 kB / 384.7 MB, free: 36.89 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.801e-05/0.2356, allocations: 87.14 kB / 384.8 MB, free: 36.79 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/0.2356, allocations: 9.156 kB / 384.8 MB, free: 36.79 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.2357, allocations: 17.7 kB / 384.8 MB, free: 36.77 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.435e-05/0.2358, allocations: 3.031 kB / 384.8 MB, free: 36.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/0.2358, allocations: 6.141 kB / 384.8 MB, free: 36.77 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.536e-05/0.2359, allocations: 111.6 kB / 384.9 MB, free: 36.68 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2359, allocations: 0 / 384.9 MB, free: 36.68 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003427/0.2362, allocations: 35.41 kB / 385 MB, free: 36.68 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (2): * Single equations (assignments): 1 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004577/0.2367, allocations: 0.7537 MB / 385.7 MB, free: 35.96 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003559/0.2371, allocations: 195.9 kB / 385.9 MB, free: 35.8 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.2371, allocations: 3.531 kB / 385.9 MB, free: 35.8 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001607/0.2372, allocations: 149.6 kB / 386.1 MB, free: 35.67 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002564/0.2375, allocations: 9.656 kB / 386.1 MB, free: 35.66 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001297/0.2388, allocations: 0.8364 MB / 386.9 MB, free: 34.99 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001818/0.239, allocations: 0.7153 MB / 387.6 MB, free: 34.27 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.904e-05/0.2391, allocations: 30.3 kB / 387.7 MB, free: 34.24 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2391, allocations: 0 / 387.7 MB, free: 34.24 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.734/2.973, allocations: 2.403 MB / 390.1 MB, free: 32.99 MB / 298.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingResistor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingResistor_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_HeatingResistor_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_HeatingResistor.fmu > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingResistor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/HeatingResistor/HeatingResistor.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingResistor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches