Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.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.001393/0.001393, allocations: 72.61 kB / 21.24 MB, free: 404 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.001334/0.001334, allocations: 161.4 kB / 24.49 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.467/1.467, allocations: 173.4 MB / 201.1 MB, free: 12.7 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.HeatingNPN_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5041,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate") translateModel(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5041,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00153/0.00153, allocations: 46.75 kB / 319.4 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09853/0.1001, allocations: 52.17 MB / 371.6 MB, free: 7.332 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate): time 0.005877/0.1059, allocations: 4.406 MB / 376 MB, free: 2.902 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002545/0.1085, allocations: 1.237 MB / 377.2 MB, free: 1.656 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000375/0.1089, allocations: 19.88 kB / 377.3 MB, free: 1.637 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002951/0.1092, allocations: 118.7 kB / 377.4 MB, free: 1.52 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005103/0.1097, allocations: 261.6 kB / 377.6 MB, free: 1.262 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006846/0.1103, allocations: 319.5 kB / 377.9 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001136/0.1115, allocations: 1.095 MB / 379 MB, free: 15.85 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003189/0.1118, allocations: 182.9 kB / 379.2 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000485/0.1123, allocations: 422.6 kB / 379.6 MB, free: 15.24 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005797/0.1129, allocations: 426 kB / 380 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001335/0.113, allocations: 92 kB / 380.1 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002255/0.1132, allocations: 108 kB / 380.2 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002013/0.1134, allocations: 203.3 kB / 380.4 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004006/0.1138, allocations: 386.2 kB / 380.8 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001128/0.115, allocations: 1.039 MB / 381.8 MB, free: 13.01 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.115, allocations: 4 kB / 381.8 MB, free: 13 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.22e-07/0.115, allocations: 0 / 381.8 MB, free: 13 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.052e-05/0.115, allocations: 0 / 381.8 MB, free: 13 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: 158 * Number of variables: 158 Notification: Performance of Generate backend data structure: time 0.002547/0.1175, allocations: 1.213 MB / 383.1 MB, free: 11.74 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.1176, allocations: 8.922 kB / 383.1 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001624/0.1177, allocations: 96.38 kB / 383.2 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007161/0.1184, allocations: 426 kB / 383.6 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.794e-05/0.1185, allocations: 45.69 kB / 383.6 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.1186, allocations: 68.38 kB / 383.7 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001493/0.1201, allocations: 0.7803 MB / 384.5 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/0.1201, allocations: 0 / 384.5 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.508e-05/0.1202, allocations: 31.92 kB / 384.5 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.781e-05/0.1202, allocations: 16 kB / 384.5 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001768/0.1219, allocations: 0.696 MB / 385.2 MB, free: 9.527 MB / 350.1 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.003691/0.1256, allocations: 1.813 MB / 387 MB, free: 7.641 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001529/0.1272, allocations: 0.5594 MB / 387.6 MB, free: 7.066 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007722/0.1279, allocations: 310.2 kB / 387.9 MB, free: 6.762 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.158e-05/0.128, allocations: 12.5 kB / 387.9 MB, free: 6.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001028/0.129, allocations: 0.5342 MB / 388.4 MB, free: 6.164 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 1.913e-06/0.129, allocations: 0 / 388.4 MB, free: 6.164 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.07103/0.2, allocations: 15.24 MB / 403.7 MB, free: 6.859 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.593e-05/0.2001, allocations: 141.5 kB / 403.8 MB, free: 6.688 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006381/0.2008, allocations: 0.5224 MB / 404.3 MB, free: 6.156 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000143/0.2009, allocations: 49.64 kB / 404.4 MB, free: 6.102 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000299/0.2012, allocations: 396.7 kB / 404.8 MB, free: 5.707 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003134/0.2015, allocations: 337 kB / 405.1 MB, free: 5.375 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003867/0.2019, allocations: 182.6 kB / 405.3 MB, free: 5.191 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001953/0.2021, allocations: 390.8 kB / 405.7 MB, free: 4.801 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002267/0.2044, allocations: 0.7746 MB / 406.4 MB, free: 4.012 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002452/0.2068, allocations: 1.085 MB / 407.5 MB, free: 2.812 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004526/0.2114, allocations: 1.701 MB / 409.2 MB, free: 1.02 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.076e-05/0.2114, allocations: 7.938 kB / 409.2 MB, free: 1.012 MB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02442/0.2358, allocations: 5.397 MB / 414.6 MB, free: 11.57 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.279e-05/0.2359, allocations: 63.41 kB / 414.7 MB, free: 11.49 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.835e-05/0.2359, allocations: 8 kB / 414.7 MB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03548/0.2714, allocations: 6.833 MB / 421.5 MB, free: 4.637 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007378/0.2721, allocations: 147.7 kB / 421.7 MB, free: 4.492 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007228/0.2793, allocations: 3.172 MB / 424.9 MB, free: 1.266 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001671/0.281, allocations: 183.8 kB / 425 MB, free: 1.086 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001359/0.2811, allocations: 43.98 kB / 425.1 MB, free: 1.043 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 10 (V2.signalSource.count,$PRE.V2.signalSource.count,V2.signalSource.T_start,$PRE.V2.signalSource.T_start,V1.signalSource.count,$PRE.V1.signalSource.count,V1.signalSource.T_start,$PRE.V1.signalSource.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 2 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,32), (5,32)} Notification: Performance of prepare postOptimizeDAE: time 0.0004172/0.2816, allocations: 229.6 kB / 425.3 MB, free: 0.8086 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000174/0.2817, allocations: 83.48 kB / 425.4 MB, free: 0.7266 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02294/0.3047, allocations: 5.068 MB / 430.4 MB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.579e-05/0.3047, allocations: 12 kB / 430.5 MB, free: 11.62 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.3047, allocations: 0 / 430.5 MB, free: 11.62 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.203e-05/0.3047, allocations: 7.969 kB / 430.5 MB, free: 11.62 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001419/0.3061, allocations: 0.766 MB / 431.2 MB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.3061, allocations: 4 kB / 431.2 MB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005519/0.3067, allocations: 92.12 kB / 431.3 MB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03483/0.3415, allocations: 6.785 MB / 438.1 MB, free: 3.926 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002035/0.3417, allocations: 35.97 kB / 438.1 MB, free: 3.891 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006459/0.3482, allocations: 3.04 MB / 441.2 MB, free: 0.793 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.243e-06/0.3482, allocations: 7.938 kB / 441.2 MB, free: 0.7852 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02531/0.3735, allocations: 5.949 MB / 447.1 MB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001838/0.3737, allocations: 75.56 kB / 447.2 MB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002131/0.3739, allocations: 27.94 kB / 447.2 MB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001447/0.3753, allocations: 167.7 kB / 447.4 MB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002743/0.3756, allocations: 104.8 kB / 447.5 MB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.823e-05/0.3757, allocations: 27.98 kB / 447.5 MB, free: 10.41 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004409/0.3762, allocations: 350.8 kB / 447.9 MB, free: 10.07 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3762, allocations: 0 / 447.9 MB, free: 10.07 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007673/0.3769, allocations: 256 kB / 448.1 MB, free: 9.82 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (HeatCapacitor1.T) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,V1.signalSource.T_start,V1.signalSource.count,V2.signalSource.T_start,V2.signalSource.count) * Number of discrete states: 2 (V2.signalSource.count,V1.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,32), (5,36)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002416/0.3772, allocations: 143.1 kB / 448.3 MB, free: 9.672 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.007294/0.3845, allocations: 2.149 MB / 450.4 MB, free: 7.48 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.3845, allocations: 0 / 450.4 MB, free: 7.48 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003622/0.3881, allocations: 1.023 MB / 451.4 MB, free: 6.461 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007074/0.3888, allocations: 122.5 kB / 451.6 MB, free: 6.344 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004011/0.3928, allocations: 1.787 MB / 453.3 MB, free: 4.535 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003642/0.3932, allocations: 357.7 kB / 453.7 MB, free: 4.152 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002468/0.3934, allocations: 58.22 kB / 453.8 MB, free: 4.094 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001243/0.3935, allocations: 40.48 kB / 453.8 MB, free: 4.055 MB / 414.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3935, allocations: 0 / 453.8 MB, free: 4.055 MB / 414.1 MB Notification: Performance of Templates: time 0.03337/0.4269, allocations: 18.93 MB / 472.7 MB, free: 1.246 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/HeatingNPN_NORGate/HeatingNPN_NORGate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.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: 5.786606924957596]