Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.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.0008874/0.0008874, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 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.005076/0.005076, allocations: 160.7 kB / 24.7 MB, free: 9.418 MB / 18.57 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 0.8803/0.8803, allocations: 177.1 MB / 205 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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.HeatingRectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier") translateModel(Modelica.Electrical.Analog.Examples.HeatingRectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 325.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.095e-05/2.265e-05, allocations: 2.281 kB / 325.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.00245/0.002472, allocations: 2.426 MB / 328.3 MB, free: 12.96 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009546/0.003427, allocations: 0.666 MB / 328.9 MB, free: 12.29 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001119/0.003539, allocations: 7.938 kB / 328.9 MB, free: 12.29 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001237/0.003663, allocations: 39.64 kB / 329 MB, free: 12.25 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.152e-05/0.003754, allocations: 71.28 kB / 329 MB, free: 12.18 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003006/0.004055, allocations: 99.75 kB / 329.1 MB, free: 12.08 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000236/0.004291, allocations: 294.4 kB / 329.4 MB, free: 11.79 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001509/0.004442, allocations: 56.55 kB / 329.5 MB, free: 11.73 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000221/0.004663, allocations: 171.5 kB / 329.7 MB, free: 11.57 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001131/0.004776, allocations: 87.77 kB / 329.7 MB, free: 11.48 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.744e-05/0.004803, allocations: 20 kB / 329.8 MB, free: 11.46 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.135e-05/0.004874, allocations: 39.94 kB / 329.8 MB, free: 11.42 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.946e-05/0.004904, allocations: 51.81 kB / 329.8 MB, free: 11.37 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.879e-05/0.004963, allocations: 87.77 kB / 329.9 MB, free: 11.29 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002623/0.005225, allocations: 295.1 kB / 330.2 MB, free: 11 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.005227, allocations: 0 / 330.2 MB, free: 11 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.005228, allocations: 0 / 330.2 MB, free: 11 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.359e-06/0.005232, allocations: 0 / 330.2 MB, free: 11 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0006029/0.005835, allocations: 484.3 kB / 330.7 MB, free: 10.5 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.005869, allocations: 12.03 kB / 330.7 MB, free: 10.48 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001153/0.005984, allocations: 44.73 kB / 330.7 MB, free: 10.44 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002311/0.006215, allocations: 177.4 kB / 330.9 MB, free: 10.24 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.006231, allocations: 16.88 kB / 330.9 MB, free: 10.23 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.195e-05/0.006263, allocations: 24.38 kB / 331 MB, free: 10.2 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002685/0.006532, allocations: 236.1 kB / 331.2 MB, free: 9.953 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.006545, allocations: 4.172 kB / 331.2 MB, free: 9.949 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.878e-05/0.006564, allocations: 12.38 kB / 331.2 MB, free: 9.938 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.006571, allocations: 7.938 kB / 331.2 MB, free: 9.93 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001906/0.006761, allocations: 149.9 kB / 331.4 MB, free: 9.785 MB / 298.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007839/0.007545, allocations: 0.6335 MB / 332 MB, free: 9.102 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002201/0.007765, allocations: 138.5 kB / 332.1 MB, free: 8.957 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001316/0.007897, allocations: 88.84 kB / 332.2 MB, free: 8.867 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.744e-05/0.007914, allocations: 4 kB / 332.2 MB, free: 8.863 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.996e-05/0.007934, allocations: 38.81 kB / 332.3 MB, free: 8.816 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.623e-06/0.007936, allocations: 0 / 332.3 MB, free: 8.816 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006854/0.008621, allocations: 337 kB / 332.6 MB, free: 8.48 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.791e-05/0.008649, allocations: 55.41 kB / 332.6 MB, free: 8.414 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.00876, allocations: 175.3 kB / 332.8 MB, free: 8.23 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.008775, allocations: 33.7 kB / 332.8 MB, free: 8.191 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.664e-05/0.008842, allocations: 152.4 kB / 333 MB, free: 8.039 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.077e-05/0.008873, allocations: 59.44 kB / 333.1 MB, free: 7.98 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.057e-05/0.008913, allocations: 33.7 kB / 333.1 MB, free: 7.941 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.178e-05/0.008995, allocations: 330.8 kB / 333.4 MB, free: 7.609 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.558e-05/0.009061, allocations: 47.98 kB / 333.5 MB, free: 7.562 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.666e-05/0.009137, allocations: 73.62 kB / 333.5 MB, free: 7.484 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001504/0.009288, allocations: 133.5 kB / 333.7 MB, free: 7.348 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.461e-06/0.009293, allocations: 4 kB / 333.7 MB, free: 7.344 MB / 298.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002433/0.009537, allocations: 214.3 kB / 333.9 MB, free: 7.125 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.009551, allocations: 8 kB / 333.9 MB, free: 7.117 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.009556, allocations: 3.938 kB / 333.9 MB, free: 7.113 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006288/0.01018, allocations: 212.6 kB / 334.1 MB, free: 6.902 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.443e-05/0.01026, allocations: 31.98 kB / 334.1 MB, free: 6.871 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003907/0.01065, allocations: 0.6186 MB / 334.7 MB, free: 6.223 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.931e-05/0.01071, allocations: 15.89 kB / 334.8 MB, free: 6.207 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-06/0.01072, allocations: 7.984 kB / 334.8 MB, free: 6.199 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 13 * 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,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001033/0.01082, allocations: 126.9 kB / 334.9 MB, free: 6.066 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.404e-05/0.01085, allocations: 15.91 kB / 334.9 MB, free: 6.051 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003133/0.01116, allocations: 231 kB / 335.1 MB, free: 5.82 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.01117, allocations: 8.062 kB / 335.1 MB, free: 5.812 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.01117, allocations: 7.984 kB / 335.1 MB, free: 5.805 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.01118, allocations: 0 / 335.1 MB, free: 5.805 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005536/0.01173, allocations: 0.4996 MB / 335.6 MB, free: 5.262 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.01173, allocations: 0 / 335.6 MB, free: 5.262 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.609e-05/0.01182, allocations: 27.92 kB / 335.7 MB, free: 5.234 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004825/0.0123, allocations: 208.6 kB / 335.9 MB, free: 5.027 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.01231, allocations: 4 kB / 335.9 MB, free: 5.023 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002871/0.0126, allocations: 0.6225 MB / 336.5 MB, free: 4.375 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.0126, allocations: 0 / 336.5 MB, free: 4.375 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004282/0.01303, allocations: 412.9 kB / 336.9 MB, free: 3.949 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.053e-05/0.01305, allocations: 28.05 kB / 336.9 MB, free: 3.922 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.657e-05/0.01307, allocations: 0 / 336.9 MB, free: 3.922 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.5e-05/0.01313, allocations: 12 kB / 336.9 MB, free: 3.91 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.773e-05/0.01317, allocations: 15.91 kB / 337 MB, free: 3.895 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.01318, allocations: 8 kB / 337 MB, free: 3.887 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.586e-05/0.01326, allocations: 135.2 kB / 337.1 MB, free: 3.754 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01326, allocations: 0 / 337.1 MB, free: 3.754 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001944/0.01345, allocations: 67.78 kB / 337.2 MB, free: 3.688 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (Capacitor1.v,HeatCapacitor1.T) * 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 (10): * Single equations (assignments): 9 * 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,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001258/0.01358, allocations: 107.2 kB / 337.3 MB, free: 3.574 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002614/0.01384, allocations: 139.8 kB / 337.4 MB, free: 3.438 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.01384, allocations: 3.938 kB / 337.4 MB, free: 3.434 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.459e-05/0.01393, allocations: 75.95 kB / 337.5 MB, free: 3.359 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002252/0.01416, allocations: 34.47 kB / 337.5 MB, free: 3.328 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006622/0.01482, allocations: 0.5127 MB / 338 MB, free: 2.777 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.188e-05/0.0149, allocations: 138 kB / 338.2 MB, free: 2.621 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.774e-05/0.01493, allocations: 12.5 kB / 338.2 MB, free: 2.609 MB / 298.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01493, allocations: 0 / 338.2 MB, free: 2.609 MB / 298.7 MB Notification: Performance of Templates: time 0.003703/0.01863, allocations: 3.252 MB / 341.4 MB, free: 15.36 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/HeatingRectifier/HeatingRectifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.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.358021306805313]