Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.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: translateModel(Modelica.Electrical.Analog.Examples.ShowVariableResistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|VariableResistor.i|R2.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor") translateModel(Modelica.Electrical.Analog.Examples.ShowVariableResistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|VariableResistor.i|R2.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001592/0.001592, allocations: 117 kB / 18.46 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002041/0.002041, allocations: 208 kB / 19.41 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.502/1.502, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 55.91 kB / 359.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.2239, allocations: 50.55 MB / 410 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.003706/0.2276, allocations: 3.022 MB / 413 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001164/0.2288, allocations: 0.744 MB / 413.7 MB, free: 13.78 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001304/0.229, allocations: 4 kB / 413.7 MB, free: 13.78 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001608/0.2291, allocations: 55.44 kB / 413.8 MB, free: 13.72 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001714/0.2293, allocations: 103 kB / 413.9 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003027/0.2296, allocations: 107.8 kB / 414 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003822/0.23, allocations: 410.2 kB / 414.4 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001975/0.2302, allocations: 111.1 kB / 414.5 MB, free: 13 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002381/0.2305, allocations: 159.4 kB / 414.6 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001781/0.2307, allocations: 163.2 kB / 414.8 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.749e-05/0.2307, allocations: 32 kB / 414.8 MB, free: 12.65 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.014e-05/0.2308, allocations: 40 kB / 414.9 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.847e-05/0.2309, allocations: 79.67 kB / 415 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001615/0.231, allocations: 183.1 kB / 415.1 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003692/0.2314, allocations: 386.3 kB / 415.5 MB, free: 11.98 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2314, allocations: 0 / 415.5 MB, free: 11.98 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2314, allocations: 0 / 415.5 MB, free: 11.98 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.2315, allocations: 0 / 415.5 MB, free: 11.98 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.0009026/0.2324, allocations: 0.6389 MB / 416.2 MB, free: 11.29 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.2324, allocations: 15.97 kB / 416.2 MB, free: 11.28 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001746/0.2326, allocations: 48.69 kB / 416.2 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003482/0.2329, allocations: 291.7 kB / 416.5 MB, free: 10.91 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/0.233, allocations: 20.92 kB / 416.5 MB, free: 10.89 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.904e-05/0.233, allocations: 28.38 kB / 416.5 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004924/0.2335, allocations: 265.1 kB / 416.8 MB, free: 10.59 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.2335, allocations: 0 / 416.8 MB, free: 10.59 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.709e-05/0.2336, allocations: 8 kB / 416.8 MB, free: 10.58 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.2336, allocations: 12 kB / 416.8 MB, free: 10.57 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004707/0.2341, allocations: 214.1 kB / 417 MB, free: 10.36 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001528/0.2356, allocations: 0.968 MB / 418 MB, free: 9.324 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005017/0.2361, allocations: 298 kB / 418.3 MB, free: 9.008 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002129/0.2363, allocations: 108.8 kB / 418.4 MB, free: 8.898 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/0.2364, allocations: 8 kB / 418.4 MB, free: 8.891 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.2364, allocations: 38.5 kB / 418.4 MB, free: 8.844 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.593e-06/0.2364, allocations: 0 / 418.4 MB, free: 8.844 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.001207/0.2376, allocations: 0.559 MB / 419 MB, free: 8.238 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.548e-05/0.2377, allocations: 51.41 kB / 419.1 MB, free: 8.176 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002403/0.2379, allocations: 266.6 kB / 419.3 MB, free: 7.91 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.317e-05/0.2379, allocations: 29.7 kB / 419.3 MB, free: 7.875 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.555e-05/0.238, allocations: 180.2 kB / 419.5 MB, free: 7.695 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.034e-05/0.2381, allocations: 75.36 kB / 419.6 MB, free: 7.621 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.682e-05/0.2382, allocations: 53.89 kB / 419.6 MB, free: 7.559 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.2383, allocations: 338.8 kB / 420 MB, free: 7.219 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001903/0.2385, allocations: 72.42 kB / 420 MB, free: 7.148 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001991/0.2387, allocations: 111.4 kB / 420.2 MB, free: 7.031 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000378/0.2391, allocations: 186.5 kB / 420.3 MB, free: 6.84 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2391, allocations: 0 / 420.3 MB, free: 6.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006115/0.2397, allocations: 330.9 kB / 420.7 MB, free: 6.504 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.2397, allocations: 11.98 kB / 420.7 MB, free: 6.492 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.2397, allocations: 3.938 kB / 420.7 MB, free: 6.488 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002547/0.24, allocations: 69.67 kB / 420.7 MB, free: 6.414 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001897/0.2402, allocations: 39.97 kB / 420.8 MB, free: 6.375 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002115/0.2423, allocations: 3.051 MB / 423.8 MB, free: 3.047 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001885/0.2425, allocations: 32 kB / 423.9 MB, free: 3.016 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.612e-05/0.2426, allocations: 7.938 kB / 423.9 MB, free: 3.008 MB / 334.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 (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001234/0.2427, allocations: 137.8 kB / 424 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.451e-05/0.2427, allocations: 35.75 kB / 424 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.009e-05/0.2428, allocations: 30.17 kB / 424.1 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.2428, allocations: 0 / 424.1 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.2428, allocations: 4 kB / 424.1 MB, free: 2.789 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.645e-05/0.2429, allocations: 108.9 kB / 424.2 MB, free: 2.664 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.932e-05/0.2429, allocations: 0 / 424.2 MB, free: 2.664 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002659/0.2432, allocations: 31.97 kB / 424.2 MB, free: 2.633 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.205e-05/0.2433, allocations: 23.97 kB / 424.2 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007488/0.244, allocations: 370.4 kB / 424.6 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006338/0.2447, allocations: 478.1 kB / 425.1 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001663/0.2448, allocations: 67.95 kB / 425.1 MB, free: 1.688 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001566/0.245, allocations: 190 kB / 425.3 MB, free: 1.504 MB / 334.1 MB Notification: Performance of Backend: time 4.3e-07/0.245, allocations: 0 / 425.3 MB, free: 1.504 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008823/0.2459, allocations: 470.2 kB / 425.8 MB, free: 1.012 MB / 334.1 MB Notification: Performance of SimCode: time 0.0009369/0.2469, allocations: 1.007 MB / 426.8 MB, free: 15.96 MB / 350.1 MB Notification: Performance of Templates: time 0.007773/0.2546, allocations: 4.002 MB / 430.8 MB, free: 11.99 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ShowVariableResistor/ShowVariableResistor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches