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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001345/0.001345, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 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.001468/0.001468, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.471/1.471, allocations: 230.6 MB / 258.2 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] 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=5002,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=5002,variableFilter="time|resistor.i|resistor.LossPower",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Resistor") [Timeout 660] "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.001933/0.001933, allocations: 64.95 kB / 379 MB, free: 2.664 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2699/0.2718, allocations: 53.38 MB / 432.4 MB, free: 7.129 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Resistor): time 0.003594/0.2754, allocations: 2.177 MB / 434.6 MB, free: 4.945 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00113/0.2765, allocations: 0.6233 MB / 435.2 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.2766, allocations: 0 / 435.2 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001316/0.2768, allocations: 23.78 kB / 435.2 MB, free: 4.293 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001021/0.2769, allocations: 55.55 kB / 435.3 MB, free: 4.238 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002578/0.2771, allocations: 47.89 kB / 435.3 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002236/0.2774, allocations: 163.2 kB / 435.5 MB, free: 4.031 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001602/0.2775, allocations: 41.66 kB / 435.5 MB, free: 3.984 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001642/0.2777, allocations: 63.78 kB / 435.6 MB, free: 3.922 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001183/0.2778, allocations: 63.7 kB / 435.7 MB, free: 3.859 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.845e-05/0.2778, allocations: 15.98 kB / 435.7 MB, free: 3.844 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.962e-05/0.2779, allocations: 28 kB / 435.7 MB, free: 3.816 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.368e-05/0.2779, allocations: 23.86 kB / 435.7 MB, free: 3.793 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.695e-05/0.278, allocations: 83.59 kB / 435.8 MB, free: 3.711 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002548/0.2783, allocations: 165.3 kB / 436 MB, free: 3.551 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.2783, allocations: 0 / 436 MB, free: 3.551 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2783, allocations: 0 / 436 MB, free: 3.551 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.074e-05/0.2783, allocations: 0 / 436 MB, free: 3.551 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.0006273/0.2789, allocations: 373.8 kB / 436.3 MB, free: 3.152 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.279, allocations: 8.031 kB / 436.3 MB, free: 3.145 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000181/0.2791, allocations: 32.83 kB / 436.4 MB, free: 3.113 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002936/0.2794, allocations: 158.2 kB / 436.5 MB, free: 2.934 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.2794, allocations: 8.609 kB / 436.5 MB, free: 2.926 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.558e-05/0.2795, allocations: 12.38 kB / 436.6 MB, free: 2.914 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000272/0.2797, allocations: 123.8 kB / 436.7 MB, free: 2.789 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.2797, allocations: 0 / 436.7 MB, free: 2.789 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.2798, allocations: 0 / 436.7 MB, free: 2.789 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.2798, allocations: 4 kB / 436.7 MB, free: 2.785 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001927/0.28, allocations: 88.64 kB / 436.8 MB, free: 2.699 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000912/0.2809, allocations: 0.5658 MB / 437.3 MB, free: 2.059 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003015/0.2812, allocations: 78.62 kB / 437.4 MB, free: 1.973 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.428e-05/0.2813, allocations: 36.97 kB / 437.4 MB, free: 1.934 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.2813, allocations: 4 kB / 437.4 MB, free: 1.93 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/0.2813, allocations: 30.56 kB / 437.5 MB, free: 1.891 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.2813, allocations: 0 / 437.5 MB, free: 1.891 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006792/0.282, allocations: 174.3 kB / 437.6 MB, free: 1.711 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.383e-05/0.282, allocations: 59.34 kB / 437.7 MB, free: 1.641 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001718/0.2822, allocations: 159.3 kB / 437.9 MB, free: 1.477 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.434e-05/0.2822, allocations: 33.64 kB / 437.9 MB, free: 1.438 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.425e-05/0.2823, allocations: 120.1 kB / 438 MB, free: 1.316 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.574e-05/0.2824, allocations: 27.78 kB / 438 MB, free: 1.289 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.231e-05/0.2824, allocations: 21.72 kB / 438.1 MB, free: 1.262 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.2825, allocations: 322.8 kB / 438.4 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.079e-05/0.2826, allocations: 23.98 kB / 438.4 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.272e-05/0.2827, allocations: 42.56 kB / 438.4 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001462/0.2828, allocations: 74.5 kB / 438.5 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2829, allocations: 0 / 438.5 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003054/0.2832, allocations: 142.3 kB / 438.7 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.2832, allocations: 8 kB / 438.7 MB, free: 0.625 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.2832, allocations: 0 / 438.7 MB, free: 0.625 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001871/0.2834, allocations: 28.84 kB / 438.7 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.078e-05/0.2834, allocations: 23.98 kB / 438.7 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001704/0.2851, allocations: 1.59 MB / 440.3 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.925e-05/0.2852, allocations: 7.891 kB / 440.3 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.2852, allocations: 4 kB / 440.3 MB, free: 14.86 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 0.0001185/0.2853, allocations: 125.8 kB / 440.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.182e-05/0.2854, allocations: 11.95 kB / 440.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.38e-05/0.2854, allocations: 12.7 kB / 440.5 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.2854, allocations: 4 kB / 440.5 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.2854, allocations: 0 / 440.5 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.2854, allocations: 0 / 440.5 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002364/0.2856, allocations: 184.6 kB / 440.6 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.2856, allocations: 0 / 440.6 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.324e-05/0.2857, allocations: 4 kB / 440.6 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001194/0.2858, allocations: 36.83 kB / 440.7 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.757e-06/0.2858, allocations: 8 kB / 440.7 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001518/0.2873, allocations: 1.582 MB / 442.3 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2873, allocations: 0 / 442.3 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003296/0.2876, allocations: 212.2 kB / 442.5 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.777e-05/0.2877, allocations: 7.953 kB / 442.5 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.461e-05/0.2877, allocations: 8.047 kB / 442.5 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.93e-05/0.2878, allocations: 8 kB / 442.5 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.86e-05/0.2878, allocations: 7.922 kB / 442.5 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.113e-06/0.2878, allocations: 4 kB / 442.5 MB, free: 12.46 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.476e-05/0.2879, allocations: 126.3 kB / 442.6 MB, free: 12.34 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2879, allocations: 0 / 442.6 MB, free: 12.34 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003468/0.2883, allocations: 35.89 kB / 442.7 MB, free: 12.3 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 0.0001298/0.2884, allocations: 103.2 kB / 442.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004255/0.2888, allocations: 178.6 kB / 443 MB, free: 12.01 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2888, allocations: 0 / 443 MB, free: 12.01 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000222/0.289, allocations: 158.6 kB / 443.1 MB, free: 11.84 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002673/0.2893, allocations: 12.12 kB / 443.1 MB, free: 11.83 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000625/0.2899, allocations: 292.8 kB / 443.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003982/0.2903, allocations: 0.7157 MB / 444.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.307e-05/0.2904, allocations: 8.469 kB / 444.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.94e-05/0.2904, allocations: 11.44 kB / 444.1 MB, free: 10.75 MB / 350.1 MB Notification: Performance of SimCode: time 4.3e-07/0.2904, allocations: 0 / 444.1 MB, free: 10.75 MB / 350.1 MB Notification: Performance of Templates: time 0.005104/0.2955, allocations: 1.589 MB / 445.7 MB, free: 9.172 MB / 350.1 MB " [Timeout remaining time 660] 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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.5659377770498395]