Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor.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.Resistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|resistor.i|resistor.LossPower",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.Resistor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001136/0.001136, allocations: 110.9 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001267/0.001267, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.333/1.333, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 63.89 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2182/0.2194, allocations: 50.55 MB / 409.9 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Resistor): time 0.003117/0.2225, allocations: 2.143 MB / 412.1 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009886/0.2235, allocations: 0.6156 MB / 412.7 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.67e-05/0.2236, allocations: 0 / 412.7 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001159/0.2238, allocations: 19.8 kB / 412.7 MB, free: 14.79 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001004/0.2239, allocations: 51.56 kB / 412.8 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002466/0.2241, allocations: 51.86 kB / 412.8 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001835/0.2243, allocations: 159.2 kB / 413 MB, free: 14.53 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001923/0.2245, allocations: 57.44 kB / 413 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001515/0.2247, allocations: 67.78 kB / 413.1 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.2248, allocations: 63.7 kB / 413.2 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.467e-05/0.2248, allocations: 20 kB / 413.2 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.085e-05/0.2249, allocations: 27.92 kB / 413.2 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.501e-05/0.225, allocations: 31.86 kB / 413.2 MB, free: 14.26 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.37e-05/0.225, allocations: 71.61 kB / 413.3 MB, free: 14.19 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002167/0.2252, allocations: 172.5 kB / 413.5 MB, free: 14.02 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.2253, allocations: 4 kB / 413.5 MB, free: 14.02 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2253, allocations: 0 / 413.5 MB, free: 14.02 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.07e-06/0.2253, allocations: 0 / 413.5 MB, free: 14.02 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005964/0.2259, allocations: 439.2 kB / 413.9 MB, free: 13.54 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.2259, allocations: 8.031 kB / 413.9 MB, free: 13.53 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001748/0.2261, allocations: 28.73 kB / 414 MB, free: 13.5 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002602/0.2264, allocations: 212.1 kB / 414.2 MB, free: 13.26 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.2264, allocations: 4.609 kB / 414.2 MB, free: 13.25 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.857e-05/0.2264, allocations: 12.38 kB / 414.2 MB, free: 13.24 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002384/0.2267, allocations: 123.8 kB / 414.3 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.2267, allocations: 0 / 414.3 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.2267, allocations: 8 kB / 414.3 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.281e-06/0.2267, allocations: 7.984 kB / 414.3 MB, free: 13.1 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001765/0.2269, allocations: 80.66 kB / 414.4 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008085/0.2277, allocations: 0.6055 MB / 415 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002635/0.228, allocations: 82.62 kB / 415.1 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.337e-05/0.2281, allocations: 32.98 kB / 415.1 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.563e-05/0.2281, allocations: 3.984 kB / 415.1 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/0.2281, allocations: 30.56 kB / 415.1 MB, free: 12.17 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.2281, allocations: 4 kB / 415.1 MB, free: 12.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006602/0.2288, allocations: 251.4 kB / 415.4 MB, free: 11.89 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.62e-05/0.2288, allocations: 55.34 kB / 415.4 MB, free: 11.82 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001716/0.229, allocations: 158.2 kB / 415.6 MB, free: 11.66 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.229, allocations: 29.7 kB / 415.6 MB, free: 11.63 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.079e-05/0.2291, allocations: 124 kB / 415.8 MB, free: 11.5 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.025e-05/0.2291, allocations: 31.58 kB / 415.8 MB, free: 11.47 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.162e-05/0.2292, allocations: 21.72 kB / 415.8 MB, free: 11.45 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.874e-05/0.2293, allocations: 318.8 kB / 416.1 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.315e-05/0.2294, allocations: 23.98 kB / 416.1 MB, free: 11.1 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.867e-05/0.2294, allocations: 42.56 kB / 416.2 MB, free: 11.05 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001328/0.2296, allocations: 74.48 kB / 416.3 MB, free: 10.97 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.2296, allocations: 0 / 416.3 MB, free: 10.97 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002679/0.2299, allocations: 130.5 kB / 416.4 MB, free: 10.83 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.2299, allocations: 6.656 kB / 416.4 MB, free: 10.83 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.2299, allocations: 8 kB / 416.4 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001721/0.2301, allocations: 40.83 kB / 416.4 MB, free: 10.78 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.327e-05/0.2302, allocations: 11.94 kB / 416.4 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001404/0.2316, allocations: 1.686 MB / 418.1 MB, free: 8.938 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.904e-05/0.2316, allocations: 11.97 kB / 418.1 MB, free: 8.926 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.2317, allocations: 8.062 kB / 418.2 MB, free: 8.918 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 (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.461e-05/0.2318, allocations: 121.8 kB / 418.3 MB, free: 8.789 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.349e-05/0.2318, allocations: 11.84 kB / 418.3 MB, free: 8.777 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.23e-05/0.2318, allocations: 16.7 kB / 418.3 MB, free: 8.766 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.2318, allocations: 0 / 418.3 MB, free: 8.766 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2318, allocations: 0 / 418.3 MB, free: 8.766 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.966e-05/0.2319, allocations: 85.02 kB / 418.4 MB, free: 8.664 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.277e-05/0.2319, allocations: 0 / 418.4 MB, free: 8.664 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.232, allocations: 11.98 kB / 418.4 MB, free: 8.652 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.758e-05/0.2321, allocations: 8 kB / 418.4 MB, free: 8.645 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003789/0.2324, allocations: 213.5 kB / 418.6 MB, free: 8.426 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002967/0.2328, allocations: 290.6 kB / 418.9 MB, free: 8.125 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.285e-05/0.2328, allocations: 24.05 kB / 418.9 MB, free: 8.102 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.088e-05/0.2329, allocations: 107.3 kB / 419 MB, free: 7.996 MB / 334.1 MB Notification: Performance of Backend: time 1.61e-07/0.2329, allocations: 0 / 419 MB, free: 7.996 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006401/0.2336, allocations: 252.4 kB / 419.3 MB, free: 7.73 MB / 334.1 MB Notification: Performance of SimCode: time 0.0007117/0.2343, allocations: 0.7667 MB / 420 MB, free: 6.914 MB / 334.1 MB Notification: Performance of Templates: time 0.004078/0.2384, allocations: 1.429 MB / 421.5 MB, free: 5.492 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.Resistor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches