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.001395/0.001395, allocations: 106.1 kB / 19.8 MB, free: 2.5 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.001622/0.001622, allocations: 218.4 kB / 23 MB, free: 5.574 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.552/1.552, allocations: 230.2 MB / 256.2 MB, free: 8.543 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.001839/0.001839, allocations: 71.88 kB / 376.5 MB, free: 3.602 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2774/0.2793, allocations: 53.32 MB / 429.8 MB, free: 7.535 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Resistor): time 0.003737/0.283, allocations: 2.182 MB / 432 MB, free: 5.34 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001132/0.2841, allocations: 0.6233 MB / 432.6 MB, free: 4.711 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001048/0.2842, allocations: 4 kB / 432.6 MB, free: 4.707 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001354/0.2844, allocations: 19.78 kB / 432.6 MB, free: 4.688 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.428e-05/0.2845, allocations: 47.56 kB / 432.7 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002776/0.2847, allocations: 47.88 kB / 432.7 MB, free: 4.594 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002319/0.285, allocations: 163.2 kB / 432.9 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001742/0.2852, allocations: 41.47 kB / 432.9 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001929/0.2853, allocations: 67.78 kB / 433 MB, free: 4.32 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001304/0.2855, allocations: 67.7 kB / 433.1 MB, free: 4.254 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.804e-05/0.2855, allocations: 12 kB / 433.1 MB, free: 4.242 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.094e-05/0.2856, allocations: 20 kB / 433.1 MB, free: 4.223 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.806e-05/0.2856, allocations: 39.83 kB / 433.1 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.371e-05/0.2857, allocations: 67.67 kB / 433.2 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003243/0.286, allocations: 168.6 kB / 433.4 MB, free: 3.957 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.286, allocations: 3.938 kB / 433.4 MB, free: 3.953 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.286, allocations: 0 / 433.4 MB, free: 3.953 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.153e-06/0.286, allocations: 0 / 433.4 MB, free: 3.953 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.0007352/0.2868, allocations: 454.9 kB / 433.8 MB, free: 3.457 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.2868, allocations: 8.031 kB / 433.8 MB, free: 3.449 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001914/0.287, allocations: 28.83 kB / 433.8 MB, free: 3.422 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002946/0.2873, allocations: 208.2 kB / 434.1 MB, free: 3.18 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.2873, allocations: 8.609 kB / 434.1 MB, free: 3.172 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.743e-05/0.2874, allocations: 12.31 kB / 434.1 MB, free: 3.16 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002699/0.2876, allocations: 131.8 kB / 434.2 MB, free: 3.027 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.2876, allocations: 0 / 434.2 MB, free: 3.027 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.736e-05/0.2877, allocations: 4 kB / 434.2 MB, free: 3.023 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/0.2877, allocations: 4 kB / 434.2 MB, free: 3.02 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002108/0.2879, allocations: 72.67 kB / 434.3 MB, free: 2.949 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009566/0.2888, allocations: 0.6018 MB / 434.9 MB, free: 2.266 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003167/0.2892, allocations: 82.62 kB / 435 MB, free: 2.176 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.427e-05/0.2892, allocations: 32.97 kB / 435 MB, free: 2.141 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.963e-05/0.2893, allocations: 0 / 435 MB, free: 2.141 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.2893, allocations: 34.56 kB / 435 MB, free: 2.098 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 8.92e-07/0.2893, allocations: 0 / 435 MB, free: 2.098 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007199/0.29, allocations: 263.3 kB / 435.3 MB, free: 1.812 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.961e-05/0.2901, allocations: 59.34 kB / 435.3 MB, free: 1.742 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/0.2902, allocations: 148.8 kB / 435.5 MB, free: 1.59 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/0.2902, allocations: 33.64 kB / 435.5 MB, free: 1.551 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.2903, allocations: 132.1 kB / 435.6 MB, free: 1.418 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.576e-05/0.2904, allocations: 11.84 kB / 435.7 MB, free: 1.406 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.898e-05/0.2904, allocations: 33.66 kB / 435.7 MB, free: 1.367 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001681/0.2906, allocations: 318.8 kB / 436 MB, free: 1.047 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.863e-05/0.2907, allocations: 23.92 kB / 436 MB, free: 1.023 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.615e-05/0.2907, allocations: 42.56 kB / 436.1 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001373/0.2909, allocations: 70.5 kB / 436.1 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2909, allocations: 0 / 436.1 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002935/0.2912, allocations: 138.4 kB / 436.3 MB, free: 0.75 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.2912, allocations: 4 kB / 436.3 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.2912, allocations: 4 kB / 436.3 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001861/0.2914, allocations: 36.83 kB / 436.3 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.179e-05/0.2914, allocations: 8 kB / 436.3 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001795/0.2932, allocations: 1.69 MB / 438 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.941e-05/0.2933, allocations: 15.98 kB / 438 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.25e-05/0.2933, allocations: 7.984 kB / 438 MB, free: 14.84 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.0001073/0.2934, allocations: 121.8 kB / 438.2 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.396e-05/0.2934, allocations: 11.95 kB / 438.2 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.689e-05/0.2935, allocations: 8.719 kB / 438.2 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.2935, allocations: 0 / 438.2 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-06/0.2935, allocations: 0 / 438.2 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.2935, allocations: 4 kB / 438.2 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002607/0.2937, allocations: 217.5 kB / 438.4 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2937, allocations: 0 / 438.4 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.625e-05/0.2938, allocations: 7.984 kB / 438.4 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001181/0.2939, allocations: 32.84 kB / 438.4 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.2939, allocations: 4.172 kB / 438.4 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001463/0.2954, allocations: 1.678 MB / 440.1 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2954, allocations: 3.984 kB / 440.1 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003324/0.2957, allocations: 224.3 kB / 440.3 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.445e-05/0.2957, allocations: 85.06 kB / 440.4 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.313e-05/0.2958, allocations: 0 / 440.4 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.493e-05/0.2959, allocations: 7.984 kB / 440.4 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.257e-05/0.2959, allocations: 8 kB / 440.4 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.2959, allocations: 0 / 440.4 MB, free: 12.2 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001088/0.296, allocations: 130.6 kB / 440.6 MB, free: 12.08 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.296, allocations: 0 / 440.6 MB, free: 12.08 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003351/0.2963, allocations: 43.83 kB / 440.6 MB, free: 12.04 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.0001314/0.2965, allocations: 99.25 kB / 440.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004125/0.2969, allocations: 182.6 kB / 440.9 MB, free: 11.74 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2969, allocations: 4.125 kB / 440.9 MB, free: 11.74 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002205/0.2971, allocations: 154.6 kB / 441 MB, free: 11.57 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000256/0.2974, allocations: 15.53 kB / 441.1 MB, free: 11.56 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005789/0.2979, allocations: 307.7 kB / 441.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003611/0.2983, allocations: 0.708 MB / 442.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.158e-05/0.2984, allocations: 8.422 kB / 442.1 MB, free: 10.49 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.852e-05/0.2984, allocations: 11.44 kB / 442.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of SimCode: time 3.5e-07/0.2984, allocations: 4 kB / 442.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of Templates: time 0.004845/0.3032, allocations: 1.559 MB / 443.6 MB, free: 8.922 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.673249147832394]