Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001706/0.001706, allocations: 72.06 kB / 21.24 MB, free: 400 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001943/0.001943, allocations: 161.4 kB / 24.49 MB, free: 3.461 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 173.4 MB / 201.1 MB, free: 12.7 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.Resistor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 47.11 kB / 319.4 MB, free: 3.254 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08961/0.09112, allocations: 52.16 MB / 371.6 MB, free: 7.332 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Resistor): time 0.003452/0.09457, allocations: 2.07 MB / 373.6 MB, free: 5.254 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009172/0.09548, allocations: 0.5066 MB / 374.2 MB, free: 4.742 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.874e-05/0.09557, allocations: 4 kB / 374.2 MB, free: 4.738 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001083/0.09568, allocations: 19.78 kB / 374.2 MB, free: 4.719 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.805e-05/0.09578, allocations: 51.56 kB / 374.2 MB, free: 4.668 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002/0.09598, allocations: 39.89 kB / 374.3 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002003/0.09618, allocations: 155.3 kB / 374.4 MB, free: 4.477 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.09632, allocations: 49.53 kB / 374.5 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000109/0.09643, allocations: 63.72 kB / 374.5 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.09654, allocations: 63.64 kB / 374.6 MB, free: 4.297 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.555e-05/0.09657, allocations: 12 kB / 374.6 MB, free: 4.285 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.528e-05/0.09663, allocations: 16 kB / 374.6 MB, free: 4.27 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.963e-05/0.09667, allocations: 31.91 kB / 374.6 MB, free: 4.238 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.303e-05/0.09675, allocations: 59.72 kB / 374.7 MB, free: 4.18 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002325/0.09698, allocations: 159.3 kB / 374.9 MB, free: 4.023 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.09698, allocations: 4 kB / 374.9 MB, free: 4.02 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.09698, allocations: 0 / 374.9 MB, free: 4.02 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.09699, allocations: 0 / 374.9 MB, free: 4.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.0005753/0.09756, allocations: 373.9 kB / 375.2 MB, free: 3.621 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.0976, allocations: 8.922 kB / 375.2 MB, free: 3.613 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.849e-05/0.09769, allocations: 16.84 kB / 375.3 MB, free: 3.598 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000229/0.09792, allocations: 146.3 kB / 375.4 MB, free: 3.43 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.09793, allocations: 8.609 kB / 375.4 MB, free: 3.422 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.847e-05/0.09795, allocations: 16.38 kB / 375.4 MB, free: 3.406 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002556/0.09821, allocations: 141.5 kB / 375.6 MB, free: 3.258 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.956e-06/0.09822, allocations: 0 / 375.6 MB, free: 3.258 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/0.09824, allocations: 11.94 kB / 375.6 MB, free: 3.246 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-06/0.09824, allocations: 0 / 375.6 MB, free: 3.246 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001937/0.09844, allocations: 84.64 kB / 375.7 MB, free: 3.164 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007429/0.09918, allocations: 439.4 kB / 376.1 MB, free: 2.691 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002926/0.09947, allocations: 90.5 kB / 376.2 MB, free: 2.594 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.806e-05/0.09955, allocations: 28.97 kB / 376.2 MB, free: 2.562 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.051e-05/0.09956, allocations: 0 / 376.2 MB, free: 2.562 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/0.09959, allocations: 42.5 kB / 376.2 MB, free: 2.512 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 8.61e-07/0.09959, allocations: 0 / 376.2 MB, free: 2.512 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006488/0.1002, allocations: 174.3 kB / 376.4 MB, free: 2.332 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.315e-05/0.1003, allocations: 51.41 kB / 376.5 MB, free: 2.27 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.1004, allocations: 153 kB / 376.6 MB, free: 2.113 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.1004, allocations: 29.64 kB / 376.6 MB, free: 2.078 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.616e-05/0.1005, allocations: 132.1 kB / 376.8 MB, free: 1.941 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.092e-05/0.1005, allocations: 23.8 kB / 376.8 MB, free: 1.918 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.528e-05/0.1006, allocations: 25.7 kB / 376.8 MB, free: 1.887 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.1007, allocations: 322.8 kB / 377.1 MB, free: 1.562 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.689e-05/0.1008, allocations: 20 kB / 377.2 MB, free: 1.543 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.32e-05/0.1009, allocations: 50.48 kB / 377.2 MB, free: 1.484 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001399/0.101, allocations: 66.55 kB / 377.3 MB, free: 1.41 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.101, allocations: 0 / 377.3 MB, free: 1.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003007/0.1013, allocations: 142.3 kB / 377.4 MB, free: 1.262 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.1013, allocations: 4 kB / 377.4 MB, free: 1.258 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.1013, allocations: 4 kB / 377.4 MB, free: 1.254 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001916/0.1015, allocations: 36.83 kB / 377.5 MB, free: 1.215 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.482e-05/0.1016, allocations: 8 kB / 377.5 MB, free: 1.207 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001524/0.1031, allocations: 1.56 MB / 379 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.16e-05/0.1032, allocations: 8 kB / 379 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.1032, allocations: 0 / 379 MB, free: 15.54 MB / 350.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.918e-05/0.1033, allocations: 125.8 kB / 379.2 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.174e-05/0.1033, allocations: 11.89 kB / 379.2 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.444e-05/0.1033, allocations: 16.72 kB / 379.2 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.1033, allocations: 0 / 379.2 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.62e-07/0.1033, allocations: 0 / 379.2 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.1033, allocations: 4 kB / 379.2 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001813/0.1035, allocations: 153.2 kB / 379.3 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1035, allocations: 0 / 379.3 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.521e-05/0.1035, allocations: 4.188 kB / 379.3 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001231/0.1037, allocations: 36.83 kB / 379.4 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-06/0.1037, allocations: 7.938 kB / 379.4 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001349/0.105, allocations: 1.544 MB / 380.9 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.105, allocations: 0 / 380.9 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003322/0.1054, allocations: 224.2 kB / 381.1 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.516e-05/0.1054, allocations: 3.953 kB / 381.1 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.1054, allocations: 7.938 kB / 381.2 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.981e-05/0.1055, allocations: 8 kB / 381.2 MB, free: 13.24 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.404e-05/0.1055, allocations: 3.984 kB / 381.2 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.724e-06/0.1055, allocations: 4 kB / 381.2 MB, free: 13.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.326e-05/0.1056, allocations: 119.2 kB / 381.3 MB, free: 13.11 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1056, allocations: 0 / 381.3 MB, free: 13.11 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003513/0.106, allocations: 39.89 kB / 381.3 MB, free: 13.07 MB / 350.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 9.579e-05/0.1061, allocations: 95.25 kB / 381.4 MB, free: 12.97 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000386/0.1064, allocations: 190.6 kB / 381.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1065, allocations: 0 / 381.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002203/0.1067, allocations: 154.8 kB / 381.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002488/0.1069, allocations: 14.48 kB / 381.8 MB, free: 12.6 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005207/0.1074, allocations: 292.7 kB / 382.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.344e-05/0.1075, allocations: 98.27 kB / 382.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.523e-05/0.1076, allocations: 4.484 kB / 382.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.306e-05/0.1076, allocations: 12.5 kB / 382.2 MB, free: 12.15 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1076, allocations: 0 / 382.2 MB, free: 12.15 MB / 350.1 MB Notification: Performance of Templates: time 0.004528/0.1121, allocations: 1.432 MB / 383.6 MB, free: 10.73 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_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_4.0.0_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.194945208961144]