Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001646/0.001646, allocations: 75.75 kB / 21.24 MB, free: 396 kB / 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.002212/0.002212, allocations: 160.3 kB / 24.49 MB, free: 3.453 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.472/1.472, allocations: 177.1 MB / 204.7 MB, free: 8.965 MB / 190.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.ShowVariableResistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|VariableResistor.i|R2.i",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 65.89 kB / 325.5 MB, free: 208 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1096, allocations: 53.38 MB / 378.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.00481/0.1145, allocations: 2.803 MB / 381.7 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001488/0.1159, allocations: 0.7245 MB / 382.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001403/0.1161, allocations: 7.938 kB / 382.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001822/0.1163, allocations: 51.44 kB / 382.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001848/0.1165, allocations: 107.1 kB / 382.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003769/0.1168, allocations: 99.81 kB / 382.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005083/0.1173, allocations: 410.2 kB / 383.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002068/0.1175, allocations: 83.56 kB / 383.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002699/0.1178, allocations: 163.5 kB / 383.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002191/0.118, allocations: 147.2 kB / 383.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.36e-05/0.1181, allocations: 32 kB / 383.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.998e-05/0.1182, allocations: 39.98 kB / 383.6 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.673e-05/0.1183, allocations: 67.77 kB / 383.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001628/0.1184, allocations: 147.3 kB / 383.8 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004748/0.1189, allocations: 398.4 kB / 384.2 MB, free: 10.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1189, allocations: 0 / 384.2 MB, free: 10.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1189, allocations: 0 / 384.2 MB, free: 10.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.1189, allocations: 0 / 384.2 MB, free: 10.21 MB / 350.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.001037/0.12, allocations: 0.5676 MB / 384.7 MB, free: 9.609 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.12, allocations: 15.98 kB / 384.7 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001962/0.1202, allocations: 48.69 kB / 384.8 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004167/0.1206, allocations: 222 kB / 385 MB, free: 9.305 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.174e-05/0.1206, allocations: 28.95 kB / 385 MB, free: 9.273 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.607e-05/0.1207, allocations: 24.38 kB / 385.1 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006747/0.1214, allocations: 420.6 kB / 385.5 MB, free: 8.797 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.1214, allocations: 0 / 385.5 MB, free: 8.797 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.985e-05/0.1214, allocations: 12 kB / 385.5 MB, free: 8.785 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/0.1214, allocations: 8 kB / 385.5 MB, free: 8.777 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004956/0.1219, allocations: 218.5 kB / 385.7 MB, free: 8.566 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001595/0.1235, allocations: 0.8139 MB / 386.5 MB, free: 7.699 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000504/0.124, allocations: 206.6 kB / 386.7 MB, free: 7.488 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002273/0.1242, allocations: 96.8 kB / 386.8 MB, free: 7.391 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.1243, allocations: 0 / 386.8 MB, free: 7.391 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.156e-05/0.1243, allocations: 42.56 kB / 386.8 MB, free: 7.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.042e-06/0.1243, allocations: 0 / 386.8 MB, free: 7.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.00124/0.1256, allocations: 410.2 kB / 387.2 MB, free: 6.93 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.348e-05/0.1256, allocations: 59.28 kB / 387.3 MB, free: 6.859 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002538/0.1259, allocations: 245.7 kB / 387.5 MB, free: 6.609 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.882e-05/0.1259, allocations: 29.7 kB / 387.6 MB, free: 6.574 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001374/0.126, allocations: 192.5 kB / 387.8 MB, free: 6.379 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.385e-05/0.1261, allocations: 75.31 kB / 387.8 MB, free: 6.305 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.675e-05/0.1262, allocations: 41.95 kB / 387.9 MB, free: 6.254 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002076/0.1264, allocations: 334.8 kB / 388.2 MB, free: 5.918 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001998/0.1266, allocations: 80.42 kB / 388.3 MB, free: 5.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002792/0.1268, allocations: 115.4 kB / 388.4 MB, free: 5.719 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004019/0.1272, allocations: 187 kB / 388.6 MB, free: 5.527 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1272, allocations: 4 kB / 388.6 MB, free: 5.523 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006954/0.1279, allocations: 310.9 kB / 388.9 MB, free: 5.207 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.128, allocations: 7.938 kB / 388.9 MB, free: 5.199 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.128, allocations: 4 kB / 388.9 MB, free: 5.195 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002663/0.1282, allocations: 77.73 kB / 389 MB, free: 5.113 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001881/0.1284, allocations: 35.91 kB / 389 MB, free: 5.078 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002563/0.131, allocations: 2.784 MB / 391.8 MB, free: 2.094 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001812/0.1312, allocations: 23.88 kB / 391.8 MB, free: 2.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-05/0.1312, allocations: 4 kB / 391.8 MB, free: 2.066 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.000142/0.1313, allocations: 137.8 kB / 392 MB, free: 1.922 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.574e-05/0.1314, allocations: 31.84 kB / 392 MB, free: 1.891 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.86e-05/0.1314, allocations: 30.22 kB / 392 MB, free: 1.863 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.1314, allocations: 0 / 392 MB, free: 1.863 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.854e-06/0.1314, allocations: 8.062 kB / 392 MB, free: 1.855 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.84e-06/0.1314, allocations: 3.984 kB / 392 MB, free: 1.852 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009562/0.1324, allocations: 0.5661 MB / 392.6 MB, free: 1.238 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.1324, allocations: 8.172 kB / 392.6 MB, free: 1.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001288/0.1325, allocations: 23.98 kB / 392.6 MB, free: 1.207 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001921/0.1327, allocations: 85.61 kB / 392.7 MB, free: 1.117 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.1327, allocations: 4 kB / 392.7 MB, free: 1.113 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002348/0.1351, allocations: 2.784 MB / 395.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1351, allocations: 0 / 395.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006218/0.1357, allocations: 376.6 kB / 395.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.016e-05/0.1357, allocations: 27.73 kB / 395.9 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.261e-05/0.1358, allocations: 8 kB / 395.9 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002485/0.136, allocations: 31.97 kB / 395.9 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.113e-05/0.1361, allocations: 23.95 kB / 396 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.706e-05/0.1361, allocations: 8 kB / 396 MB, free: 13.64 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001753/0.1363, allocations: 177.2 kB / 396.1 MB, free: 13.46 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1363, allocations: 0 / 396.1 MB, free: 13.46 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003841/0.1367, allocations: 95.84 kB / 396.2 MB, free: 13.37 MB / 366.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.0001223/0.1368, allocations: 111.1 kB / 396.3 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007827/0.1376, allocations: 437 kB / 396.8 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1376, allocations: 0 / 396.8 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004441/0.138, allocations: 333.4 kB / 397.1 MB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003351/0.1384, allocations: 36.67 kB / 397.1 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008351/0.1392, allocations: 0.5047 MB / 397.6 MB, free: 11.88 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001565/0.1393, allocations: 155.5 kB / 397.8 MB, free: 11.71 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.761e-05/0.1394, allocations: 21.92 kB / 397.8 MB, free: 11.68 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.788e-05/0.1395, allocations: 24.5 kB / 397.8 MB, free: 11.66 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1395, allocations: 0 / 397.8 MB, free: 11.66 MB / 366.1 MB Notification: Performance of Templates: time 0.007508/0.147, allocations: 3.538 MB / 401.4 MB, free: 8.18 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.44378297496587]