Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.Resistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|resistor.i|resistor.LossPower",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor") translateModel(Modelica.Electrical.Analog.Examples.Resistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|resistor.i|resistor.LossPower",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 106.3 kB / 17.74 MB, free: 5.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 185.4 kB / 18.67 MB, free: 4.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 222.9 MB / 242.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009484/0.0009484, allocations: 51.91 kB / 352 MB, free: 3.266 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2316/0.2326, allocations: 49.44 MB / 401.4 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Resistor): time 0.003153/0.2358, allocations: 2.132 MB / 403.5 MB, free: 6.742 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000864/0.2367, allocations: 0.5493 MB / 404.1 MB, free: 6.188 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.529e-05/0.2368, allocations: 0 / 404.1 MB, free: 6.188 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001292/0.2369, allocations: 23.78 kB / 404.1 MB, free: 6.164 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.32e-05/0.237, allocations: 43.62 kB / 404.2 MB, free: 6.121 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002169/0.2372, allocations: 43.88 kB / 404.2 MB, free: 6.078 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001796/0.2374, allocations: 155.3 kB / 404.4 MB, free: 5.926 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001408/0.2376, allocations: 53.47 kB / 404.4 MB, free: 5.871 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.2377, allocations: 75.7 kB / 404.5 MB, free: 5.797 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.2378, allocations: 67.7 kB / 404.5 MB, free: 5.73 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.527e-05/0.2378, allocations: 12 kB / 404.6 MB, free: 5.719 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.9e-05/0.2379, allocations: 16 kB / 404.6 MB, free: 5.703 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.996e-05/0.2379, allocations: 31.91 kB / 404.6 MB, free: 5.672 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.021e-05/0.238, allocations: 67.67 kB / 404.7 MB, free: 5.605 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001935/0.2382, allocations: 164.5 kB / 404.8 MB, free: 5.449 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.2382, allocations: 0 / 404.8 MB, free: 5.449 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.2382, allocations: 0 / 404.8 MB, free: 5.449 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.2383, allocations: 3.938 kB / 404.8 MB, free: 5.445 MB / 318.1 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.0005738/0.2388, allocations: 438.3 kB / 405.3 MB, free: 4.969 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.2389, allocations: 8.031 kB / 405.3 MB, free: 4.961 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.671e-05/0.239, allocations: 20.83 kB / 405.3 MB, free: 4.941 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000239/0.2392, allocations: 208 kB / 405.5 MB, free: 4.699 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.2393, allocations: 12.61 kB / 405.5 MB, free: 4.688 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.035e-05/0.2393, allocations: 8.375 kB / 405.5 MB, free: 4.68 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002495/0.2395, allocations: 124.5 kB / 405.6 MB, free: 4.555 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.2396, allocations: 0 / 405.6 MB, free: 4.555 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.724e-05/0.2396, allocations: 4 kB / 405.6 MB, free: 4.551 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.2396, allocations: 7.938 kB / 405.7 MB, free: 4.543 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001803/0.2398, allocations: 84.64 kB / 405.7 MB, free: 4.461 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008859/0.2407, allocations: 0.6057 MB / 406.3 MB, free: 3.773 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002911/0.241, allocations: 82.56 kB / 406.4 MB, free: 3.684 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.704e-05/0.2411, allocations: 36.97 kB / 406.5 MB, free: 3.645 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.371e-05/0.2411, allocations: 0 / 406.5 MB, free: 3.645 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.2411, allocations: 34.56 kB / 406.5 MB, free: 3.602 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 9.91e-07/0.2411, allocations: 0 / 406.5 MB, free: 3.602 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006889/0.2418, allocations: 255.4 kB / 406.7 MB, free: 3.324 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.002e-05/0.2419, allocations: 55.34 kB / 406.8 MB, free: 3.258 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001369/0.242, allocations: 149.8 kB / 406.9 MB, free: 3.102 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.242, allocations: 25.7 kB / 407 MB, free: 3.07 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.978e-05/0.2421, allocations: 127.9 kB / 407.1 MB, free: 2.938 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.807e-05/0.2421, allocations: 19.73 kB / 407.1 MB, free: 2.918 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.344e-05/0.2422, allocations: 25.62 kB / 407.1 MB, free: 2.887 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.2423, allocations: 326.8 kB / 407.5 MB, free: 2.559 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.389e-05/0.2424, allocations: 23.88 kB / 407.5 MB, free: 2.535 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.869e-05/0.2425, allocations: 42.55 kB / 407.5 MB, free: 2.484 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001313/0.2426, allocations: 66.56 kB / 407.6 MB, free: 2.41 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.2426, allocations: 0 / 407.6 MB, free: 2.41 MB / 318.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002754/0.2429, allocations: 142.2 kB / 407.7 MB, free: 2.262 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.2429, allocations: 8 kB / 407.7 MB, free: 2.254 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.2429, allocations: 0 / 407.7 MB, free: 2.254 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001773/0.2431, allocations: 36.83 kB / 407.8 MB, free: 2.215 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.398e-05/0.2432, allocations: 8 kB / 407.8 MB, free: 2.207 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001418/0.2446, allocations: 1.693 MB / 409.5 MB, free: 380 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.138e-05/0.2447, allocations: 7.844 kB / 409.5 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.704e-06/0.2447, allocations: 7.984 kB / 409.5 MB, free: 364 kB / 318.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 9.035e-05/0.2448, allocations: 125.8 kB / 409.6 MB, free: 228 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.457e-05/0.2448, allocations: 11.84 kB / 409.6 MB, free: 216 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.189e-05/0.2449, allocations: 12.78 kB / 409.6 MB, free: 208 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.2449, allocations: 7.984 kB / 409.6 MB, free: 200 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.2449, allocations: 4 kB / 409.6 MB, free: 196 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.53e-05/0.2449, allocations: 81.02 kB / 409.7 MB, free: 96 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.308e-05/0.2449, allocations: 0 / 409.7 MB, free: 96 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.2451, allocations: 4 kB / 409.7 MB, free: 92 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.994e-05/0.2451, allocations: 11.92 kB / 409.7 MB, free: 80 kB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003958/0.2455, allocations: 201.8 kB / 409.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002977/0.2458, allocations: 302.6 kB / 410.2 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.384e-05/0.2459, allocations: 24.05 kB / 410.3 MB, free: 15.54 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.867e-05/0.246, allocations: 109.8 kB / 410.4 MB, free: 15.43 MB / 334.1 MB Notification: Performance of Backend: time 3.91e-07/0.246, allocations: 4 kB / 410.4 MB, free: 15.43 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000611/0.2466, allocations: 252.9 kB / 410.6 MB, free: 15.16 MB / 334.1 MB Notification: Performance of SimCode: time 0.0005988/0.2472, allocations: 0.751 MB / 411.4 MB, free: 14.36 MB / 334.1 MB Notification: Performance of Templates: time 0.004017/0.2513, allocations: 1.374 MB / 412.7 MB, free: 12.98 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/Resistor/Resistor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches