Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Resistor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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=500,variableFilter="time|resistor.i|resistor.LossPower",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Resistor") translateModel(Modelica.Electrical.Analog.Examples.Resistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|resistor.i|resistor.LossPower",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Resistor") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001458/0.001458, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001379/0.001379, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.639/1.639, allocations: 227.7 MB / 247.2 MB, free: 10.18 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 68.08 kB / 359 MB, free: 12.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3946/0.3966, allocations: 50.55 MB / 409.6 MB, free: 1.391 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Resistor): time 0.00402/0.4007, allocations: 2.15 MB / 411.7 MB, free: 15.24 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001151/0.4019, allocations: 0.6117 MB / 412.3 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.402, allocations: 3.938 kB / 412.3 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001389/0.4022, allocations: 23.78 kB / 412.4 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.644e-05/0.4023, allocations: 47.62 kB / 412.4 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002533/0.4025, allocations: 47.88 kB / 412.5 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002125/0.4028, allocations: 167.2 kB / 412.6 MB, free: 14.33 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000187/0.4029, allocations: 57.44 kB / 412.7 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001687/0.4031, allocations: 63.78 kB / 412.7 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001285/0.4033, allocations: 71.62 kB / 412.8 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.838e-05/0.4033, allocations: 16 kB / 412.8 MB, free: 14.12 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.709e-05/0.4034, allocations: 28 kB / 412.8 MB, free: 14.09 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.629e-05/0.4034, allocations: 27.86 kB / 412.9 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.361e-05/0.4035, allocations: 71.66 kB / 412.9 MB, free: 14 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002751/0.4038, allocations: 163.2 kB / 413.1 MB, free: 13.84 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.4038, allocations: 0 / 413.1 MB, free: 13.84 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.4038, allocations: 0 / 413.1 MB, free: 13.84 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.4038, allocations: 0 / 413.1 MB, free: 13.84 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.0007039/0.4045, allocations: 451 kB / 413.5 MB, free: 13.35 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.4046, allocations: 8.031 kB / 413.6 MB, free: 13.34 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002078/0.4048, allocations: 28.83 kB / 413.6 MB, free: 13.31 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003118/0.4051, allocations: 220.1 kB / 413.8 MB, free: 13.06 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.4052, allocations: 8.609 kB / 413.8 MB, free: 13.05 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.371e-05/0.4052, allocations: 12.38 kB / 413.8 MB, free: 13.04 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002585/0.4054, allocations: 119.8 kB / 413.9 MB, free: 12.92 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.4055, allocations: 7.922 kB / 413.9 MB, free: 12.91 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.729e-05/0.4055, allocations: 8 kB / 413.9 MB, free: 12.9 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.4055, allocations: 4 kB / 414 MB, free: 12.9 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001919/0.4057, allocations: 76.67 kB / 414 MB, free: 12.82 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008862/0.4066, allocations: 0.598 MB / 414.6 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002911/0.4069, allocations: 90.56 kB / 414.7 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.046e-05/0.407, allocations: 32.97 kB / 414.7 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.407, allocations: 0 / 414.7 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.185e-05/0.4071, allocations: 30.56 kB / 414.8 MB, free: 11.97 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 9.01e-07/0.4071, allocations: 0 / 414.8 MB, free: 11.97 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007237/0.4078, allocations: 255.5 kB / 415 MB, free: 11.7 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.4078, allocations: 55.34 kB / 415.1 MB, free: 11.63 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000154/0.408, allocations: 155.2 kB / 415.2 MB, free: 11.47 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.408, allocations: 25.7 kB / 415.3 MB, free: 11.44 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.614e-05/0.4081, allocations: 136.1 kB / 415.4 MB, free: 11.3 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.977e-05/0.4082, allocations: 23.78 kB / 415.4 MB, free: 11.28 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.053e-05/0.4082, allocations: 21.67 kB / 415.4 MB, free: 11.25 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.4084, allocations: 322.8 kB / 415.7 MB, free: 10.93 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.378e-05/0.4085, allocations: 23.98 kB / 415.8 MB, free: 10.9 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.179e-05/0.4086, allocations: 50.44 kB / 415.8 MB, free: 10.84 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001542/0.4087, allocations: 74.55 kB / 415.9 MB, free: 10.76 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.4087, allocations: 0 / 415.9 MB, free: 10.76 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002813/0.409, allocations: 142.2 kB / 416 MB, free: 10.61 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.4091, allocations: 4 kB / 416 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.4091, allocations: 4.062 kB / 416 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001971/0.4093, allocations: 32.84 kB / 416.1 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.772e-05/0.4093, allocations: 11.98 kB / 416.1 MB, free: 10.56 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001927/0.4113, allocations: 1.682 MB / 417.8 MB, free: 8.734 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.661e-05/0.4114, allocations: 11.89 kB / 417.8 MB, free: 8.723 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.4114, allocations: 4.062 kB / 417.8 MB, free: 8.719 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 0.0001432/0.4115, allocations: 133.7 kB / 417.9 MB, free: 8.578 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.281e-05/0.4116, allocations: 7.953 kB / 417.9 MB, free: 8.57 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.205e-05/0.4116, allocations: 12.72 kB / 417.9 MB, free: 8.562 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.4116, allocations: 0 / 417.9 MB, free: 8.562 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-06/0.4116, allocations: 0 / 417.9 MB, free: 8.562 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.4116, allocations: 0 / 417.9 MB, free: 8.562 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002682/0.4119, allocations: 217.5 kB / 418.1 MB, free: 8.301 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.4119, allocations: 0 / 418.1 MB, free: 8.301 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.638e-05/0.412, allocations: 11.98 kB / 418.2 MB, free: 8.289 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001205/0.4121, allocations: 28.84 kB / 418.2 MB, free: 8.258 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.4121, allocations: 4 kB / 418.2 MB, free: 8.254 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001496/0.4136, allocations: 1.682 MB / 419.9 MB, free: 6.434 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.4136, allocations: 0 / 419.9 MB, free: 6.434 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003211/0.4139, allocations: 220.3 kB / 420.1 MB, free: 6.199 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.36e-05/0.414, allocations: 85.06 kB / 420.2 MB, free: 6.098 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.28e-05/0.414, allocations: 0 / 420.2 MB, free: 6.098 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.256e-05/0.4141, allocations: 4 kB / 420.2 MB, free: 6.094 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.031e-05/0.4142, allocations: 11.98 kB / 420.2 MB, free: 6.082 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.172e-06/0.4142, allocations: 0 / 420.2 MB, free: 6.082 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.454e-05/0.4143, allocations: 118.4 kB / 420.3 MB, free: 5.969 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.184e-06/0.4143, allocations: 0 / 420.3 MB, free: 5.969 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003535/0.4147, allocations: 55.77 kB / 420.4 MB, free: 5.914 MB / 334.1 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.0001297/0.4148, allocations: 95.25 kB / 420.4 MB, free: 5.812 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00043/0.4152, allocations: 198.5 kB / 420.6 MB, free: 5.605 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4152, allocations: 0 / 420.6 MB, free: 5.605 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002091/0.4155, allocations: 150.8 kB / 420.8 MB, free: 5.445 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002637/0.4157, allocations: 16.02 kB / 420.8 MB, free: 5.43 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006518/0.4164, allocations: 291.7 kB / 421.1 MB, free: 5.113 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003781/0.4168, allocations: 0.7119 MB / 421.8 MB, free: 4.375 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.513e-05/0.4168, allocations: 4.438 kB / 421.8 MB, free: 4.371 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.838e-05/0.4169, allocations: 11.42 kB / 421.8 MB, free: 4.359 MB / 334.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4169, allocations: 0 / 421.8 MB, free: 4.359 MB / 334.1 MB Notification: Performance of Templates: time 0.004884/0.4218, allocations: 1.52 MB / 423.3 MB, free: 2.848 MB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Resistor.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Resistor.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Resistor.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Resistor.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Resistor.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Resistor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Resistor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Resistor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches