Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 112.2 kB / 21.19 MB, free: 0.7578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.398/1.398, allocations: 230.6 MB / 258.3 MB, free: 7.973 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.ShowVariableResistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|VariableResistor.i|R2.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor") translateModel(Modelica.Electrical.Analog.Examples.ShowVariableResistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|VariableResistor.i|R2.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001602/0.001602, allocations: 43.88 kB / 379 MB, free: 2.613 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2371/0.2387, allocations: 53.37 MB / 432.4 MB, free: 6.918 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.004727/0.2434, allocations: 3.054 MB / 435.5 MB, free: 3.852 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001602/0.245, allocations: 0.7595 MB / 436.2 MB, free: 3.086 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000311/0.2453, allocations: 11.88 kB / 436.2 MB, free: 3.074 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002357/0.2455, allocations: 59.5 kB / 436.3 MB, free: 3.016 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000308/0.2459, allocations: 103 kB / 436.4 MB, free: 2.914 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000362/0.2462, allocations: 99.8 kB / 436.5 MB, free: 2.816 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004961/0.2467, allocations: 410.2 kB / 436.9 MB, free: 2.414 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001942/0.2469, allocations: 83.58 kB / 437 MB, free: 2.332 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002714/0.2472, allocations: 151.5 kB / 437.1 MB, free: 2.184 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002237/0.2474, allocations: 171.2 kB / 437.3 MB, free: 2.016 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.271e-05/0.2475, allocations: 32 kB / 437.3 MB, free: 1.984 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.059e-05/0.2475, allocations: 47.92 kB / 437.4 MB, free: 1.938 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.138e-05/0.2476, allocations: 67.77 kB / 437.4 MB, free: 1.871 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000169/0.2478, allocations: 179.2 kB / 437.6 MB, free: 1.695 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004487/0.2482, allocations: 391.6 kB / 438 MB, free: 1.316 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.2482, allocations: 3.938 kB / 438 MB, free: 1.312 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.2482, allocations: 0 / 438 MB, free: 1.312 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.523e-06/0.2482, allocations: 4 kB / 438 MB, free: 1.309 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.00099/0.2492, allocations: 0.5637 MB / 438.6 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.2493, allocations: 12.03 kB / 438.6 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001743/0.2494, allocations: 52.69 kB / 438.6 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004174/0.2499, allocations: 221.9 kB / 438.8 MB, free: 420 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.2499, allocations: 21.03 kB / 438.9 MB, free: 396 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.667e-05/0.2499, allocations: 28.36 kB / 438.9 MB, free: 368 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005009/0.2504, allocations: 266.3 kB / 439.1 MB, free: 100 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.2504, allocations: 0 / 439.1 MB, free: 100 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.017e-05/0.2505, allocations: 16 kB / 439.2 MB, free: 84 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.2505, allocations: 8 kB / 439.2 MB, free: 76 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004895/0.251, allocations: 214.5 kB / 439.4 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001757/0.2527, allocations: 0.9337 MB / 440.3 MB, free: 14.87 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004884/0.2532, allocations: 206.6 kB / 440.5 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002164/0.2534, allocations: 100.8 kB / 440.6 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.2534, allocations: 0 / 440.6 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.702e-05/0.2535, allocations: 34.56 kB / 440.6 MB, free: 14.51 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.152e-06/0.2535, allocations: 0 / 440.6 MB, free: 14.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001226/0.2547, allocations: 416.8 kB / 441 MB, free: 14.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.557e-05/0.2548, allocations: 51.41 kB / 441.1 MB, free: 14.03 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002788/0.255, allocations: 265.9 kB / 441.4 MB, free: 13.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.66e-05/0.2551, allocations: 29.64 kB / 441.4 MB, free: 13.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001414/0.2552, allocations: 184.2 kB / 441.6 MB, free: 13.55 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.941e-05/0.2553, allocations: 71.38 kB / 441.6 MB, free: 13.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.039e-05/0.2553, allocations: 53.89 kB / 441.7 MB, free: 13.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.2555, allocations: 330.8 kB / 442 MB, free: 13.08 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001961/0.2557, allocations: 76.44 kB / 442.1 MB, free: 13.01 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002191/0.2559, allocations: 111.4 kB / 442.2 MB, free: 12.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003915/0.2563, allocations: 190.4 kB / 442.4 MB, free: 12.7 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.2563, allocations: 0 / 442.4 MB, free: 12.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006358/0.2569, allocations: 322.9 kB / 442.7 MB, free: 12.37 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.2569, allocations: 4 kB / 442.7 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.257, allocations: 0 / 442.7 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002714/0.2572, allocations: 77.66 kB / 442.8 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001918/0.2574, allocations: 43.92 kB / 442.8 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002486/0.2599, allocations: 2.849 MB / 445.7 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001912/0.2601, allocations: 23.88 kB / 445.7 MB, free: 9.137 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.071e-05/0.2601, allocations: 11.98 kB / 445.7 MB, free: 9.125 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 (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001664/0.2603, allocations: 141.7 kB / 445.8 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.943e-05/0.2603, allocations: 35.75 kB / 445.9 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.639e-05/0.2604, allocations: 30.27 kB / 445.9 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.2604, allocations: 8.062 kB / 445.9 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.2604, allocations: 0 / 445.9 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.2604, allocations: 0 / 445.9 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001045/0.2615, allocations: 0.6491 MB / 446.6 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.2615, allocations: 8 kB / 446.6 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001295/0.2616, allocations: 19.98 kB / 446.6 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001893/0.2618, allocations: 73.67 kB / 446.7 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.2618, allocations: 7.984 kB / 446.7 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002352/0.2641, allocations: 2.837 MB / 449.5 MB, free: 5.012 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.2641, allocations: 0 / 449.5 MB, free: 5.012 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006389/0.2648, allocations: 383.5 kB / 449.9 MB, free: 4.617 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.794e-05/0.2648, allocations: 31.73 kB / 449.9 MB, free: 4.586 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.211e-05/0.2649, allocations: 8 kB / 449.9 MB, free: 4.578 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002509/0.2651, allocations: 27.97 kB / 449.9 MB, free: 4.551 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.748e-05/0.2652, allocations: 19.97 kB / 450 MB, free: 4.531 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.862e-05/0.2652, allocations: 11.98 kB / 450 MB, free: 4.52 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001891/0.2654, allocations: 189.2 kB / 450.2 MB, free: 4.332 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2654, allocations: 0 / 450.2 MB, free: 4.332 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003814/0.2658, allocations: 91.89 kB / 450.3 MB, free: 4.242 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 (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001238/0.2659, allocations: 107.2 kB / 450.4 MB, free: 4.129 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008092/0.2667, allocations: 441.1 kB / 450.8 MB, free: 3.672 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.2667, allocations: 4 kB / 450.8 MB, free: 3.668 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004736/0.2672, allocations: 333.2 kB / 451.1 MB, free: 3.316 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003871/0.2676, allocations: 60.52 kB / 451.2 MB, free: 3.258 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000919/0.2685, allocations: 0.5278 MB / 451.7 MB, free: 2.703 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003782/0.2689, allocations: 0.7678 MB / 452.5 MB, free: 1.91 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.423e-05/0.2689, allocations: 19.44 kB / 452.5 MB, free: 1.891 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2689, allocations: 0 / 452.5 MB, free: 1.891 MB / 350.1 MB Notification: Performance of Templates: time 0.008/0.2769, allocations: 5.675 MB / 458.2 MB, free: 12.23 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ShowVariableResistor/ShowVariableResistor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.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: 7.2821316190529615]