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.00242/0.00242, allocations: 99.53 kB / 20.97 MB, free: 3.453 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.002813/0.002813, allocations: 160.8 kB / 24.27 MB, free: 156 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.557/1.557, allocations: 177 MB / 204.5 MB, free: 5.594 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.352e-06/1.352e-06, allocations: 0 / 272.2 MB, free: 1.777 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.979e-05/3.114e-05, allocations: 4.984 kB / 272.2 MB, free: 1.773 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Resistor): time 0.004305/0.004337, allocations: 2.174 MB / 274.4 MB, free: 15.58 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00122/0.005557, allocations: 0.592 MB / 275 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.946e-05/0.005656, allocations: 4 kB / 275 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001331/0.00579, allocations: 23.72 kB / 275 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.761e-05/0.005887, allocations: 43.58 kB / 275 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002699/0.006157, allocations: 59.86 kB / 275.1 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002523/0.006409, allocations: 163.1 kB / 275.3 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001566/0.006566, allocations: 41.64 kB / 275.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002398/0.006806, allocations: 103.7 kB / 275.4 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001233/0.006929, allocations: 47.83 kB / 275.5 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.38e-05/0.006963, allocations: 15.98 kB / 275.5 MB, free: 14.49 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.773e-05/0.007051, allocations: 23.94 kB / 275.5 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.435e-05/0.007085, allocations: 23.92 kB / 275.5 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.318e-05/0.007168, allocations: 55.83 kB / 275.6 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003317/0.0075, allocations: 167.5 kB / 275.7 MB, free: 14.22 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.007503, allocations: 4 kB / 275.7 MB, free: 14.22 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.007505, allocations: 4 kB / 275.7 MB, free: 14.21 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.007511, allocations: 0 / 275.7 MB, free: 14.21 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.0008019/0.008312, allocations: 471.9 kB / 276.2 MB, free: 13.71 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.008359, allocations: 15.98 kB / 276.2 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002391/0.008598, allocations: 44.7 kB / 276.3 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002725/0.00887, allocations: 156.4 kB / 276.4 MB, free: 13.48 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.008888, allocations: 8.609 kB / 276.4 MB, free: 13.47 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.489e-05/0.008913, allocations: 12.38 kB / 276.4 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002749/0.009187, allocations: 141.8 kB / 276.6 MB, free: 13.31 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.009198, allocations: 192 / 276.6 MB, free: 13.31 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.935e-05/0.009217, allocations: 8.375 kB / 276.6 MB, free: 13.3 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.009225, allocations: 3.938 kB / 276.6 MB, free: 13.3 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001948/0.00942, allocations: 76.61 kB / 276.7 MB, free: 13.22 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009387/0.01036, allocations: 0.5104 MB / 277.2 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003164/0.01067, allocations: 87.11 kB / 277.3 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.86e-05/0.01075, allocations: 35.75 kB / 277.3 MB, free: 12.53 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.251e-05/0.01078, allocations: 0 / 277.3 MB, free: 12.53 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.455e-05/0.01082, allocations: 49.31 kB / 277.3 MB, free: 12.47 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 8.71e-07/0.01082, allocations: 0 / 277.3 MB, free: 12.47 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0007295/0.01155, allocations: 177.1 kB / 277.5 MB, free: 12.29 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.685e-05/0.0116, allocations: 51.41 kB / 277.6 MB, free: 12.22 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000222/0.01182, allocations: 229.8 kB / 277.8 MB, free: 11.98 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.456e-05/0.01184, allocations: 25.7 kB / 277.8 MB, free: 11.95 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001378/0.01198, allocations: 174.9 kB / 278 MB, free: 11.77 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.29e-05/0.01202, allocations: 31.77 kB / 278 MB, free: 11.74 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.957e-05/0.01207, allocations: 27.38 kB / 278 MB, free: 11.71 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002916/0.01237, allocations: 0.4923 MB / 278.5 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.699e-05/0.01243, allocations: 23.98 kB / 278.6 MB, free: 11.18 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.648e-05/0.01253, allocations: 59.03 kB / 278.6 MB, free: 11.11 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000146/0.01268, allocations: 71 kB / 278.7 MB, free: 11.03 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.01268, allocations: 0 / 278.7 MB, free: 11.03 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003174/0.013, allocations: 145.1 kB / 278.8 MB, free: 10.88 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.01301, allocations: 4 kB / 278.8 MB, free: 10.87 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.01302, allocations: 0 / 278.8 MB, free: 10.87 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002384/0.01326, allocations: 43.73 kB / 278.9 MB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.499e-05/0.01331, allocations: 11.98 kB / 278.9 MB, free: 10.81 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00243/0.01574, allocations: 2.173 MB / 281.1 MB, free: 8.523 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.587e-05/0.01581, allocations: 4 kB / 281.1 MB, free: 8.52 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.874e-06/0.01582, allocations: 0 / 281.1 MB, free: 8.52 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.0001541/0.01597, allocations: 172.5 kB / 281.2 MB, free: 8.34 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.506e-05/0.01602, allocations: 15.89 kB / 281.2 MB, free: 8.324 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.766e-05/0.01605, allocations: 12.78 kB / 281.3 MB, free: 8.312 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.01606, allocations: 3.938 kB / 281.3 MB, free: 8.309 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.42e-07/0.01606, allocations: 0 / 281.3 MB, free: 8.309 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.01606, allocations: 3.984 kB / 281.3 MB, free: 8.305 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000245/0.01631, allocations: 180.5 kB / 281.4 MB, free: 8.094 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.01631, allocations: 0 / 281.4 MB, free: 8.094 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.447e-05/0.01634, allocations: 3.984 kB / 281.4 MB, free: 8.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001573/0.0165, allocations: 39.67 kB / 281.5 MB, free: 8.047 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.407e-06/0.01651, allocations: 0 / 281.5 MB, free: 8.047 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00199/0.0185, allocations: 2.173 MB / 283.7 MB, free: 5.75 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.0185, allocations: 0 / 283.7 MB, free: 5.75 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003792/0.01888, allocations: 271.4 kB / 283.9 MB, free: 5.461 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.663e-05/0.0189, allocations: 7.953 kB / 283.9 MB, free: 5.453 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.01891, allocations: 3.938 kB / 283.9 MB, free: 5.449 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.834e-05/0.01901, allocations: 4 kB / 283.9 MB, free: 5.445 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.352e-05/0.01907, allocations: 11.98 kB / 283.9 MB, free: 5.434 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.01907, allocations: 0 / 283.9 MB, free: 5.434 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001342/0.01921, allocations: 170.6 kB / 284.1 MB, free: 5.27 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01921, allocations: 0 / 284.1 MB, free: 5.27 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003551/0.01956, allocations: 43.89 kB / 284.2 MB, free: 5.227 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.0001298/0.01969, allocations: 91.25 kB / 284.2 MB, free: 5.125 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004817/0.02017, allocations: 256.3 kB / 284.5 MB, free: 4.855 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.02018, allocations: 0 / 284.5 MB, free: 4.855 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002903/0.02047, allocations: 229.5 kB / 284.7 MB, free: 4.609 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002649/0.02073, allocations: 11.98 kB / 284.7 MB, free: 4.598 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005911/0.02132, allocations: 270.4 kB / 285 MB, free: 4.305 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001081/0.02143, allocations: 98.27 kB / 285.1 MB, free: 4.188 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.387e-05/0.02147, allocations: 8.484 kB / 285.1 MB, free: 4.176 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.463e-05/0.02151, allocations: 12.5 kB / 285.1 MB, free: 4.164 MB / 266.7 MB Notification: Performance of SimCode: time 7.11e-07/0.02151, allocations: 0 / 285.1 MB, free: 4.164 MB / 266.7 MB Notification: Performance of Templates: time 0.005544/0.02705, allocations: 1.51 MB / 286.6 MB, free: 2.68 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor.pipe 2>&1) [Timeout 240] 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.34274530201219]