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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002001/0.002001, allocations: 96.25 kB / 20.96 MB, free: 3.465 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002025/0.002025, allocations: 156.9 kB / 24.27 MB, free: 168 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.466/1.466, allocations: 177 MB / 204.4 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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=5002,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=5002,variableFilter="time|resistor.i|resistor.LossPower",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 272.2 MB, free: 1.797 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.997e-05/3.172e-05, allocations: 2.312 kB / 272.2 MB, free: 1.793 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Resistor): time 0.003779/0.003811, allocations: 2.095 MB / 274.3 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001217/0.005028, allocations: 0.5803 MB / 274.9 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.562e-05/0.005124, allocations: 4 kB / 274.9 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001638/0.005287, allocations: 27.72 kB / 274.9 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000101/0.005388, allocations: 47.56 kB / 275 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002603/0.005649, allocations: 51.88 kB / 275 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002477/0.005897, allocations: 171.1 kB / 275.2 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001469/0.006043, allocations: 33.66 kB / 275.2 MB, free: 14.76 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002388/0.006282, allocations: 103.7 kB / 275.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001135/0.006396, allocations: 51.81 kB / 275.4 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.036e-05/0.006426, allocations: 12 kB / 275.4 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.881e-05/0.006505, allocations: 23.94 kB / 275.4 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.28e-05/0.006538, allocations: 31.89 kB / 275.4 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.339e-05/0.006611, allocations: 47.86 kB / 275.5 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000285/0.006896, allocations: 167.5 kB / 275.6 MB, free: 14.33 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.006898, allocations: 4 kB / 275.6 MB, free: 14.33 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.006899, allocations: 4 kB / 275.6 MB, free: 14.32 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.006903, allocations: 0 / 275.6 MB, free: 14.32 MB / 266.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.0006792/0.007582, allocations: 361.9 kB / 276 MB, free: 13.94 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.007622, allocations: 11.98 kB / 276 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002333/0.007855, allocations: 44.7 kB / 276.1 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002875/0.008142, allocations: 157.5 kB / 276.2 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.217e-05/0.008165, allocations: 12.61 kB / 276.2 MB, free: 13.69 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.518e-05/0.00819, allocations: 16.38 kB / 276.2 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002835/0.008473, allocations: 137.8 kB / 276.4 MB, free: 13.53 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.008483, allocations: 192 / 276.4 MB, free: 13.53 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.008502, allocations: 4.375 kB / 276.4 MB, free: 13.53 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.008509, allocations: 7.938 kB / 276.4 MB, free: 13.52 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002055/0.008714, allocations: 84.59 kB / 276.5 MB, free: 13.44 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009526/0.009667, allocations: 443.4 kB / 276.9 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000318/0.009985, allocations: 82.62 kB / 277 MB, free: 12.87 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.322e-05/0.01007, allocations: 28.91 kB / 277 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.686e-05/0.01009, allocations: 4 kB / 277 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.778e-05/0.01012, allocations: 42.5 kB / 277.1 MB, free: 12.79 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 9.61e-07/0.01012, allocations: 0 / 277.1 MB, free: 12.79 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0007016/0.01083, allocations: 178.3 kB / 277.2 MB, free: 12.6 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.764e-05/0.01088, allocations: 51.41 kB / 277.3 MB, free: 12.54 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001755/0.01106, allocations: 157.6 kB / 277.4 MB, free: 12.38 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.322e-05/0.01108, allocations: 25.7 kB / 277.5 MB, free: 12.34 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.01118, allocations: 124.2 kB / 277.6 MB, free: 12.22 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.715e-05/0.01121, allocations: 23.83 kB / 277.6 MB, free: 12.2 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.647e-05/0.01126, allocations: 25.67 kB / 277.6 MB, free: 12.16 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001867/0.01144, allocations: 322.8 kB / 277.9 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.026e-05/0.01151, allocations: 23.98 kB / 278 MB, free: 11.82 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.685e-05/0.0116, allocations: 46.5 kB / 278 MB, free: 11.76 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001521/0.01175, allocations: 66.5 kB / 278.1 MB, free: 11.69 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.01175, allocations: 0 / 278.1 MB, free: 11.69 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003314/0.01209, allocations: 142.3 kB / 278.2 MB, free: 11.54 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.0121, allocations: 11.98 kB / 278.2 MB, free: 11.53 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.01211, allocations: 0 / 278.2 MB, free: 11.53 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002228/0.01233, allocations: 36.84 kB / 278.3 MB, free: 11.49 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.371e-05/0.0124, allocations: 11.98 kB / 278.3 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001791/0.01419, allocations: 1.562 MB / 279.8 MB, free: 9.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.965e-05/0.01426, allocations: 7.938 kB / 279.8 MB, free: 9.812 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.01427, allocations: 8 kB / 279.9 MB, free: 9.805 MB / 266.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 (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 0.0001199/0.01439, allocations: 121.9 kB / 280 MB, free: 9.676 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.379e-05/0.01443, allocations: 19.83 kB / 280 MB, free: 9.656 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.539e-05/0.01446, allocations: 12.84 kB / 280 MB, free: 9.645 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.01446, allocations: 7.938 kB / 280 MB, free: 9.637 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.01447, allocations: 3.984 kB / 280 MB, free: 9.633 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.01447, allocations: 0 / 280 MB, free: 9.633 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002021/0.01467, allocations: 137.3 kB / 280.1 MB, free: 9.469 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.01467, allocations: 0 / 280.1 MB, free: 9.469 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.676e-05/0.01472, allocations: 7.984 kB / 280.2 MB, free: 9.461 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001524/0.01487, allocations: 36.84 kB / 280.2 MB, free: 9.422 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.136e-06/0.01488, allocations: 0 / 280.2 MB, free: 9.422 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001611/0.01649, allocations: 1.555 MB / 281.7 MB, free: 7.762 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.01649, allocations: 0 / 281.7 MB, free: 7.762 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003657/0.01686, allocations: 216.2 kB / 282 MB, free: 7.531 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.851e-05/0.01689, allocations: 15.94 kB / 282 MB, free: 7.516 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.82e-05/0.0169, allocations: 3.938 kB / 282 MB, free: 7.512 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.01701, allocations: 8.062 kB / 282 MB, free: 7.504 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.257e-05/0.01705, allocations: 7.984 kB / 282 MB, free: 7.496 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-06/0.01706, allocations: 0 / 282 MB, free: 7.496 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001031/0.01716, allocations: 118.6 kB / 282.1 MB, free: 7.383 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01716, allocations: 0 / 282.1 MB, free: 7.383 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003612/0.01752, allocations: 43.89 kB / 282.2 MB, free: 7.34 MB / 266.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 (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 Backend phase and start with SimCode phase: time 0.0001368/0.01766, allocations: 91.25 kB / 282.2 MB, free: 7.238 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004271/0.01808, allocations: 193.4 kB / 282.4 MB, free: 7.039 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.01809, allocations: 0 / 282.4 MB, free: 7.039 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000252/0.01834, allocations: 162.5 kB / 282.6 MB, free: 6.867 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002724/0.01861, allocations: 12 kB / 282.6 MB, free: 6.855 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005856/0.01919, allocations: 276.5 kB / 282.9 MB, free: 6.562 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001214/0.01932, allocations: 98.27 kB / 283 MB, free: 6.445 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.589e-05/0.01936, allocations: 4.531 kB / 283 MB, free: 6.438 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.631e-05/0.0194, allocations: 20.5 kB / 283 MB, free: 6.418 MB / 266.7 MB Notification: Performance of SimCode: time 4.81e-07/0.0194, allocations: 0 / 283 MB, free: 6.418 MB / 266.7 MB Notification: Performance of Templates: time 0.005063/0.02446, allocations: 1.471 MB / 284.5 MB, free: 4.965 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/Resistor/Resistor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.177110991091467]