Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 76.05 kB / 21.24 MB, free: 400 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 158 kB / 24.48 MB, free: 3.465 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 173.4 MB / 201.1 MB, free: 12.69 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001566, allocations: 50.61 kB / 319.4 MB, free: 3.254 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08921/0.09078, allocations: 52.15 MB / 371.6 MB, free: 7.352 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.004109/0.09489, allocations: 2.782 MB / 374.4 MB, free: 4.555 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001088/0.09597, allocations: 0.6506 MB / 375 MB, free: 3.898 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001342/0.09611, allocations: 4 kB / 375 MB, free: 3.895 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001597/0.09627, allocations: 63.42 kB / 375.1 MB, free: 3.832 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001814/0.09645, allocations: 99.06 kB / 375.2 MB, free: 3.734 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002542/0.0967, allocations: 95.88 kB / 375.3 MB, free: 3.641 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004296/0.09713, allocations: 406.2 kB / 375.7 MB, free: 3.242 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001881/0.09732, allocations: 84.47 kB / 375.7 MB, free: 3.156 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002063/0.09753, allocations: 163.4 kB / 375.9 MB, free: 2.996 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001988/0.09773, allocations: 139.3 kB / 376 MB, free: 2.859 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.64e-05/0.09778, allocations: 32 kB / 376.1 MB, free: 2.828 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.482e-05/0.09784, allocations: 32 kB / 376.1 MB, free: 2.797 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.72e-05/0.09791, allocations: 75.75 kB / 376.2 MB, free: 2.723 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001526/0.09807, allocations: 139.4 kB / 376.3 MB, free: 2.586 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004198/0.09849, allocations: 394.3 kB / 376.7 MB, free: 2.199 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.09849, allocations: 4 kB / 376.7 MB, free: 2.195 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.09849, allocations: 0 / 376.7 MB, free: 2.195 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.0985, allocations: 0 / 376.7 MB, free: 2.195 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.0009901/0.09949, allocations: 0.5714 MB / 377.3 MB, free: 1.594 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.09952, allocations: 8.031 kB / 377.3 MB, free: 1.586 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.488e-05/0.0996, allocations: 40.7 kB / 377.3 MB, free: 1.547 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003802/0.09998, allocations: 218 kB / 377.5 MB, free: 1.309 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.539e-05/0.1, allocations: 21.03 kB / 377.5 MB, free: 1.285 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.025e-05/0.1, allocations: 28.31 kB / 377.6 MB, free: 1.258 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006042/0.1006, allocations: 416.6 kB / 378 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.1007, allocations: 0 / 378 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.93e-05/0.1007, allocations: 12 kB / 378 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.1007, allocations: 8 kB / 378 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004936/0.1012, allocations: 218.5 kB / 378.2 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001571/0.1028, allocations: 0.81 MB / 379 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000493/0.1033, allocations: 210.6 kB / 379.2 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002203/0.1035, allocations: 96.81 kB / 379.3 MB, free: 15.4 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/0.1035, allocations: 3.938 kB / 379.3 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.1035, allocations: 38.56 kB / 379.4 MB, free: 15.35 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.182e-06/0.1035, allocations: 0 / 379.4 MB, free: 15.35 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001239/0.1048, allocations: 407.2 kB / 379.8 MB, free: 14.94 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.787e-05/0.1048, allocations: 59.28 kB / 379.8 MB, free: 14.87 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002981/0.1051, allocations: 241.7 kB / 380.1 MB, free: 14.62 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.916e-05/0.1051, allocations: 33.7 kB / 380.1 MB, free: 14.58 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001421/0.1053, allocations: 188.5 kB / 380.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.241e-05/0.1053, allocations: 71.38 kB / 380.3 MB, free: 14.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.12e-05/0.1054, allocations: 45.94 kB / 380.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.1056, allocations: 330.8 kB / 380.7 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000212/0.1058, allocations: 76.42 kB / 380.8 MB, free: 13.86 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002313/0.106, allocations: 115.4 kB / 380.9 MB, free: 13.74 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004266/0.1065, allocations: 182.5 kB / 381.1 MB, free: 13.55 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.1065, allocations: 4 kB / 381.1 MB, free: 13.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006832/0.1071, allocations: 314.9 kB / 381.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.1072, allocations: 7.938 kB / 381.4 MB, free: 13.22 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.1072, allocations: 3.938 kB / 381.4 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002693/0.1074, allocations: 77.73 kB / 381.5 MB, free: 13.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002148/0.1076, allocations: 39.91 kB / 381.5 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002854/0.1105, allocations: 2.791 MB / 384.3 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001903/0.1107, allocations: 23.91 kB / 384.3 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.1107, allocations: 8 kB / 384.3 MB, free: 10.07 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.0001528/0.1109, allocations: 137.8 kB / 384.5 MB, free: 9.926 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.267e-05/0.1109, allocations: 27.84 kB / 384.5 MB, free: 9.898 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.06e-05/0.111, allocations: 30.22 kB / 384.5 MB, free: 9.871 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.111, allocations: 4 kB / 384.5 MB, free: 9.867 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.111, allocations: 4.062 kB / 384.5 MB, free: 9.863 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.111, allocations: 7.984 kB / 384.5 MB, free: 9.855 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001018/0.112, allocations: 0.5731 MB / 385.1 MB, free: 9.238 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.448e-05/0.112, allocations: 7.984 kB / 385.1 MB, free: 9.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001331/0.1121, allocations: 23.98 kB / 385.1 MB, free: 9.207 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001934/0.1123, allocations: 81.61 kB / 385.2 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.1124, allocations: 4 kB / 385.2 MB, free: 9.117 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002466/0.1148, allocations: 2.78 MB / 388 MB, free: 6.125 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.1148, allocations: 3.984 kB / 388 MB, free: 6.121 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006667/0.1155, allocations: 369.4 kB / 388.4 MB, free: 5.738 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.257e-05/0.1155, allocations: 27.8 kB / 388.4 MB, free: 5.711 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.1156, allocations: 0 / 388.4 MB, free: 5.711 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002677/0.1158, allocations: 39.97 kB / 388.4 MB, free: 5.672 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.946e-05/0.1159, allocations: 23.95 kB / 388.5 MB, free: 5.648 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-05/0.1159, allocations: 8 kB / 388.5 MB, free: 5.641 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001699/0.1161, allocations: 177.2 kB / 388.6 MB, free: 5.473 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1161, allocations: 0 / 388.6 MB, free: 5.473 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000403/0.1165, allocations: 95.84 kB / 388.7 MB, free: 5.379 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.0001227/0.1166, allocations: 103.2 kB / 388.8 MB, free: 5.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007894/0.1174, allocations: 441.2 kB / 389.3 MB, free: 4.812 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1174, allocations: 0 / 389.3 MB, free: 4.812 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004661/0.1179, allocations: 344.3 kB / 389.6 MB, free: 4.453 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00035/0.1182, allocations: 36.67 kB / 389.6 MB, free: 4.418 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009079/0.1191, allocations: 0.5126 MB / 390.2 MB, free: 3.883 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001716/0.1193, allocations: 155.5 kB / 390.3 MB, free: 3.707 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.571e-05/0.1194, allocations: 21.94 kB / 390.3 MB, free: 3.684 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.253e-05/0.1194, allocations: 20.5 kB / 390.4 MB, free: 3.664 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1194, allocations: 0 / 390.4 MB, free: 3.664 MB / 350.1 MB Notification: Performance of Templates: time 0.008064/0.1275, allocations: 3.525 MB / 393.9 MB, free: 200 kB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ShowVariableResistor/ShowVariableResistor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 4.196188383968547]