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.001479/0.001479, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001492/0.001492, allocations: 214.6 kB / 23.73 MB, free: 4.164 MB / 14.72 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.504/1.504, allocations: 230.5 MB / 257.4 MB, free: 7.781 MB / 206.1 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 0.002038/0.002038, allocations: 63.84 kB / 378.2 MB, free: 2.289 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2819/0.2839, allocations: 53.4 MB / 431.6 MB, free: 6.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Resistor): time 0.005163/0.2891, allocations: 2.085 MB / 433.7 MB, free: 4.406 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001591/0.2907, allocations: 0.5882 MB / 434.3 MB, free: 3.812 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001281/0.2908, allocations: 4 kB / 434.3 MB, free: 3.809 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001729/0.291, allocations: 23.78 kB / 434.3 MB, free: 3.785 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001415/0.2911, allocations: 43.56 kB / 434.4 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000334/0.2915, allocations: 55.88 kB / 434.4 MB, free: 3.688 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002793/0.2917, allocations: 159.2 kB / 434.6 MB, free: 3.531 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002002/0.2919, allocations: 37.31 kB / 434.6 MB, free: 3.492 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002126/0.2922, allocations: 75.72 kB / 434.7 MB, free: 3.418 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001446/0.2923, allocations: 55.7 kB / 434.8 MB, free: 3.363 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.48e-05/0.2923, allocations: 12 kB / 434.8 MB, free: 3.352 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001003/0.2924, allocations: 20 kB / 434.8 MB, free: 3.332 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.576e-05/0.2925, allocations: 31.91 kB / 434.8 MB, free: 3.301 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001032/0.2926, allocations: 63.72 kB / 434.9 MB, free: 3.238 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003319/0.2929, allocations: 161.9 kB / 435 MB, free: 3.082 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2929, allocations: 0 / 435 MB, free: 3.082 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.2929, allocations: 4 kB / 435 MB, free: 3.078 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.2929, allocations: 0 / 435 MB, free: 3.078 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.0008439/0.2938, allocations: 373.8 kB / 435.4 MB, free: 2.68 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/0.2938, allocations: 15.98 kB / 435.4 MB, free: 2.664 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000267/0.2941, allocations: 24.83 kB / 435.4 MB, free: 2.641 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004045/0.2945, allocations: 154.3 kB / 435.6 MB, free: 2.465 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.294e-05/0.2945, allocations: 8.609 kB / 435.6 MB, free: 2.457 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.033e-05/0.2946, allocations: 16.38 kB / 435.6 MB, free: 2.441 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003988/0.295, allocations: 149.5 kB / 435.8 MB, free: 2.285 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.295, allocations: 4 kB / 435.8 MB, free: 2.281 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.827e-05/0.295, allocations: 8 kB / 435.8 MB, free: 2.273 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.974e-06/0.295, allocations: 0 / 435.8 MB, free: 2.273 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002628/0.2953, allocations: 80.66 kB / 435.9 MB, free: 2.195 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001085/0.2964, allocations: 439 kB / 436.3 MB, free: 1.723 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004098/0.2968, allocations: 90.5 kB / 436.4 MB, free: 1.625 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/0.2969, allocations: 28.97 kB / 436.4 MB, free: 1.594 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.501e-05/0.2969, allocations: 0 / 436.4 MB, free: 1.594 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.856e-05/0.2969, allocations: 34.56 kB / 436.4 MB, free: 1.551 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 4.068e-06/0.2969, allocations: 7.922 kB / 436.4 MB, free: 1.543 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0009342/0.2979, allocations: 174.3 kB / 436.6 MB, free: 1.363 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.582e-05/0.2979, allocations: 51.41 kB / 436.7 MB, free: 1.301 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002176/0.2981, allocations: 165 kB / 436.8 MB, free: 1.133 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.443e-05/0.2981, allocations: 29.64 kB / 436.9 MB, free: 1.098 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/0.2983, allocations: 128.1 kB / 437 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.434e-05/0.2983, allocations: 27.78 kB / 437 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.859e-05/0.2984, allocations: 17.72 kB / 437 MB, free: 0.918 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001934/0.2986, allocations: 326.8 kB / 437.3 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.408e-05/0.2986, allocations: 27.92 kB / 437.4 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.2988, allocations: 46.56 kB / 437.4 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001973/0.299, allocations: 62.56 kB / 437.5 MB, free: 448 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.299, allocations: 0 / 437.5 MB, free: 448 kB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004136/0.2994, allocations: 142.3 kB / 437.6 MB, free: 296 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.2994, allocations: 4 kB / 437.6 MB, free: 292 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.2994, allocations: 0 / 437.6 MB, free: 292 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002503/0.2996, allocations: 36.84 kB / 437.7 MB, free: 252 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.216e-05/0.2997, allocations: 7.984 kB / 437.7 MB, free: 244 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002204/0.3019, allocations: 1.574 MB / 439.2 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.67e-05/0.302, allocations: 3.984 kB / 439.2 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.302, allocations: 7.938 kB / 439.2 MB, free: 14.55 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.0001424/0.3022, allocations: 121.8 kB / 439.4 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.197e-05/0.3022, allocations: 11.89 kB / 439.4 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.498e-05/0.3023, allocations: 8.719 kB / 439.4 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.615e-06/0.3023, allocations: 4 kB / 439.4 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.3023, allocations: 4.047 kB / 439.4 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3023, allocations: 4 kB / 439.4 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002766/0.3025, allocations: 137.3 kB / 439.5 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3025, allocations: 0 / 439.5 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.817e-05/0.3026, allocations: 7.984 kB / 439.5 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000165/0.3028, allocations: 32.84 kB / 439.6 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.3028, allocations: 3.938 kB / 439.6 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001949/0.3047, allocations: 1.559 MB / 441.1 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.3047, allocations: 0 / 441.1 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004306/0.3052, allocations: 212.4 kB / 441.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.732e-05/0.3052, allocations: 11.89 kB / 441.4 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.142e-05/0.3052, allocations: 11.86 kB / 441.4 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001475/0.3053, allocations: 4 kB / 441.4 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.793e-05/0.3054, allocations: 11.98 kB / 441.4 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-06/0.3054, allocations: 64 / 441.4 MB, free: 12.25 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00013/0.3055, allocations: 115.2 kB / 441.5 MB, free: 12.14 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3055, allocations: 0 / 441.5 MB, free: 12.14 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005735/0.3061, allocations: 43.89 kB / 441.5 MB, free: 12.1 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.0001386/0.3062, allocations: 98.56 kB / 441.6 MB, free: 12 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005373/0.3068, allocations: 182.6 kB / 441.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.3068, allocations: 4 kB / 441.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002979/0.3071, allocations: 158.8 kB / 442 MB, free: 11.63 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004024/0.3075, allocations: 11.94 kB / 442 MB, free: 11.62 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007803/0.3083, allocations: 296.7 kB / 442.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001436/0.3084, allocations: 98.27 kB / 442.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.375e-05/0.3085, allocations: 4.438 kB / 442.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.143e-05/0.3085, allocations: 7.438 kB / 442.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3085, allocations: 0 / 442.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of Templates: time 0.006564/0.3151, allocations: 1.591 MB / 444 MB, free: 9.605 MB / 350.1 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.529738821089268]