Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowVariableResistor.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.0015/0.0015, allocations: 113.9 kB / 21.18 MB, free: 0.6289 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.001688/0.001688, allocations: 209.8 kB / 24.48 MB, free: 4.035 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.422/1.422, allocations: 230.4 MB / 258.1 MB, free: 8.156 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.ShowVariableResistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|VariableResistor.i|R2.i",fileNamePrefix="Modelica_4.1.0-beta.om_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-beta.om_Modelica.Electrical.Analog.Examples.ShowVariableResistor") [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.002051/0.002051, allocations: 71.81 kB / 378.7 MB, free: 2.875 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2228/0.2249, allocations: 53.32 MB / 432.1 MB, free: 7.352 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.004399/0.2293, allocations: 3.045 MB / 435.1 MB, free: 4.297 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001491/0.2308, allocations: 0.7478 MB / 435.9 MB, free: 3.543 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001743/0.2309, allocations: 8 kB / 435.9 MB, free: 3.535 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000184/0.2311, allocations: 59.42 kB / 435.9 MB, free: 3.477 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001999/0.2313, allocations: 103.1 kB / 436 MB, free: 3.375 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003455/0.2317, allocations: 103.8 kB / 436.1 MB, free: 3.273 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004662/0.2321, allocations: 410.2 kB / 436.5 MB, free: 2.871 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001901/0.2323, allocations: 79.05 kB / 436.6 MB, free: 2.793 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002708/0.2326, allocations: 159.4 kB / 436.8 MB, free: 2.637 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002153/0.2328, allocations: 167.2 kB / 436.9 MB, free: 2.473 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.015e-05/0.2329, allocations: 32 kB / 437 MB, free: 2.441 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.963e-05/0.233, allocations: 39.98 kB / 437 MB, free: 2.402 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.781e-05/0.233, allocations: 75.75 kB / 437.1 MB, free: 2.328 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001749/0.2332, allocations: 179.1 kB / 437.2 MB, free: 2.152 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004753/0.2337, allocations: 392.4 kB / 437.6 MB, free: 1.77 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.2337, allocations: 0 / 437.6 MB, free: 1.77 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2337, allocations: 0 / 437.6 MB, free: 1.77 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.727e-06/0.2337, allocations: 0 / 437.6 MB, free: 1.77 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.001152/0.2349, allocations: 0.6428 MB / 438.3 MB, free: 1.078 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.2349, allocations: 8.922 kB / 438.3 MB, free: 1.07 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001856/0.2351, allocations: 52.62 kB / 438.3 MB, free: 1.02 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004425/0.2355, allocations: 295.7 kB / 438.6 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.369e-05/0.2355, allocations: 20.94 kB / 438.6 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.089e-05/0.2356, allocations: 24.38 kB / 438.7 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005262/0.2361, allocations: 265.1 kB / 438.9 MB, free: 392 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.2361, allocations: 4 kB / 438.9 MB, free: 388 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.99e-05/0.2362, allocations: 15.98 kB / 438.9 MB, free: 372 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.2362, allocations: 4 kB / 438.9 MB, free: 368 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005011/0.2367, allocations: 218.1 kB / 439.2 MB, free: 152 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0018/0.2385, allocations: 0.9719 MB / 440.1 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005384/0.239, allocations: 278.3 kB / 440.4 MB, free: 14.81 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002298/0.2392, allocations: 92.81 kB / 440.5 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.66e-05/0.2393, allocations: 11.92 kB / 440.5 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/0.2393, allocations: 38.56 kB / 440.5 MB, free: 14.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.583e-06/0.2393, allocations: 0 / 440.5 MB, free: 14.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001338/0.2406, allocations: 0.556 MB / 441.1 MB, free: 14.05 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.607e-05/0.2407, allocations: 55.41 kB / 441.2 MB, free: 13.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002813/0.241, allocations: 258.6 kB / 441.4 MB, free: 13.72 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.857e-05/0.241, allocations: 33.7 kB / 441.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001377/0.2411, allocations: 180.2 kB / 441.6 MB, free: 13.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.837e-05/0.2412, allocations: 75.39 kB / 441.7 MB, free: 13.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.896e-05/0.2413, allocations: 41.89 kB / 441.7 MB, free: 13.38 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.2414, allocations: 342.8 kB / 442.1 MB, free: 13.04 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000199/0.2416, allocations: 80.36 kB / 442.1 MB, free: 12.96 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002219/0.2418, allocations: 107.4 kB / 442.2 MB, free: 12.84 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004097/0.2423, allocations: 183.2 kB / 442.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2423, allocations: 0 / 442.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006629/0.2429, allocations: 334.7 kB / 442.8 MB, free: 12.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.2429, allocations: 8 kB / 442.8 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.2429, allocations: 0 / 442.8 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002725/0.2432, allocations: 69.67 kB / 442.8 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001995/0.2434, allocations: 39.97 kB / 442.9 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002613/0.246, allocations: 3.048 MB / 445.9 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002032/0.2462, allocations: 28.19 kB / 445.9 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.575e-05/0.2462, allocations: 4 kB / 445.9 MB, free: 8.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 (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.0001489/0.2464, allocations: 145.7 kB / 446.1 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.79e-05/0.2465, allocations: 39.73 kB / 446.1 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.381e-05/0.2465, allocations: 26.19 kB / 446.2 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.2465, allocations: 3.984 kB / 446.2 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.2465, allocations: 0 / 446.2 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.781e-05/0.2466, allocations: 104.9 kB / 446.3 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.953e-05/0.2466, allocations: 4 kB / 446.3 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002672/0.2469, allocations: 31.97 kB / 446.3 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.139e-05/0.247, allocations: 31.89 kB / 446.3 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008408/0.2478, allocations: 360.6 kB / 446.7 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007272/0.2485, allocations: 474.4 kB / 447.1 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001794/0.2487, allocations: 67.14 kB / 447.2 MB, free: 7.52 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001914/0.2489, allocations: 194 kB / 447.4 MB, free: 7.336 MB / 350.1 MB Notification: Performance of Backend: time 2.2e-07/0.2489, allocations: 0 / 447.4 MB, free: 7.336 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009929/0.2499, allocations: 454.9 kB / 447.8 MB, free: 6.863 MB / 350.1 MB Notification: Performance of SimCode: time 0.001293/0.2512, allocations: 1.041 MB / 448.9 MB, free: 5.773 MB / 350.1 MB Notification: Performance of Templates: time 0.008773/0.26, allocations: 4.134 MB / 453 MB, free: 1.676 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowVariableResistor.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowVariableResistor.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowVariableResistor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowVariableResistor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ShowVariableResistor/ShowVariableResistor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 4.312407111749053]