Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.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.001736/0.001736, allocations: 116 kB / 18.45 MB, free: 4.562 MB / 14.72 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.00215/0.00215, allocations: 213.6 kB / 21.42 MB, free: 1.605 MB / 14.72 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 1.504/1.504, allocations: 230.6 MB / 254.8 MB, free: 15.1 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+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.HeatingPNP_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5041,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate") translateModel(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5041,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 55.92 kB / 374.2 MB, free: 9.703 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1077, allocations: 53.33 MB / 427.5 MB, free: 4.273 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.2132/0.3209, allocations: 4.963 MB / 432.5 MB, free: 8.105 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002391/0.3233, allocations: 1.294 MB / 433.8 MB, free: 8.086 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003405/0.3236, allocations: 12.38 kB / 433.8 MB, free: 8.086 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002668/0.3239, allocations: 123.9 kB / 433.9 MB, free: 8.023 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004152/0.3243, allocations: 263.6 kB / 434.2 MB, free: 7.898 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006269/0.3249, allocations: 308.7 kB / 434.5 MB, free: 7.887 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009438/0.3259, allocations: 1.096 MB / 435.6 MB, free: 7.641 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003062/0.3262, allocations: 188.5 kB / 435.7 MB, free: 7.602 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005277/0.3267, allocations: 437.6 kB / 436.2 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000565/0.3273, allocations: 481.8 kB / 436.6 MB, free: 7.422 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001412/0.3274, allocations: 90.34 kB / 436.7 MB, free: 7.422 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002427/0.3276, allocations: 114.9 kB / 436.8 MB, free: 7.422 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001558/0.3278, allocations: 199.8 kB / 437 MB, free: 7.297 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004012/0.3282, allocations: 446.9 kB / 437.5 MB, free: 7.035 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00129/0.3295, allocations: 1.038 MB / 438.5 MB, free: 6.645 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.3295, allocations: 0 / 438.5 MB, free: 6.645 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3295, allocations: 1.125 kB / 438.5 MB, free: 6.645 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.765e-05/0.3295, allocations: 1.641 kB / 438.5 MB, free: 6.645 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.002813/0.3323, allocations: 1.29 MB / 439.8 MB, free: 5.773 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.3324, allocations: 10.3 kB / 439.8 MB, free: 5.773 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002003/0.3326, allocations: 99.8 kB / 439.9 MB, free: 5.723 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007608/0.3333, allocations: 491 kB / 440.4 MB, free: 5.355 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.728e-05/0.3334, allocations: 47.7 kB / 440.4 MB, free: 5.332 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001299/0.3335, allocations: 75.36 kB / 440.5 MB, free: 5.301 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001586/0.3351, allocations: 0.6553 MB / 441.2 MB, free: 5.055 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.423e-05/0.3351, allocations: 0 / 441.2 MB, free: 5.055 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.724e-05/0.3352, allocations: 26.73 kB / 441.2 MB, free: 5.035 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/0.3352, allocations: 15.81 kB / 441.2 MB, free: 5.035 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001832/0.337, allocations: 0.6969 MB / 441.9 MB, free: 4.824 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.004576/0.3416, allocations: 2.376 MB / 444.3 MB, free: 3.367 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001643/0.3433, allocations: 0.5603 MB / 444.8 MB, free: 3.145 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007536/0.344, allocations: 305.3 kB / 445.1 MB, free: 3.043 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.732e-05/0.3441, allocations: 12 kB / 445.1 MB, free: 3.039 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001004/0.3451, allocations: 425.7 kB / 445.6 MB, free: 2.855 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 2.404e-06/0.3451, allocations: 0 / 445.6 MB, free: 2.855 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.07128/0.4164, allocations: 15.38 MB / 460.9 MB, free: 13.03 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001224/0.4165, allocations: 143.8 kB / 461.1 MB, free: 12.87 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008932/0.4174, allocations: 0.5243 MB / 461.6 MB, free: 12.54 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002978/0.4177, allocations: 47.58 kB / 461.7 MB, free: 12.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003558/0.418, allocations: 394.1 kB / 462 MB, free: 12.15 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004911/0.4185, allocations: 328 kB / 462.4 MB, free: 11.87 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000458/0.419, allocations: 185.8 kB / 462.5 MB, free: 11.75 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002216/0.4192, allocations: 388.3 kB / 462.9 MB, free: 11.38 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00224/0.4214, allocations: 0.7255 MB / 463.6 MB, free: 11.02 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002391/0.4238, allocations: 0.9507 MB / 464.6 MB, free: 10.38 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004384/0.4282, allocations: 1.701 MB / 466.3 MB, free: 8.871 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.274e-06/0.4282, allocations: 4 kB / 466.3 MB, free: 8.867 MB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02401/0.4522, allocations: 5.333 MB / 471.6 MB, free: 3.516 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001054/0.4523, allocations: 63.53 kB / 471.7 MB, free: 3.441 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.045e-05/0.4524, allocations: 8 kB / 471.7 MB, free: 3.434 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03521/0.4876, allocations: 6.833 MB / 478.5 MB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000784/0.4884, allocations: 143.8 kB / 478.7 MB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006695/0.4951, allocations: 3.017 MB / 481.7 MB, free: 9.383 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00193/0.497, allocations: 187.8 kB / 481.9 MB, free: 9.199 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001405/0.4971, allocations: 47.97 kB / 481.9 MB, free: 9.152 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.0005603/0.4977, allocations: 226.7 kB / 482.1 MB, free: 8.922 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002185/0.4979, allocations: 83.48 kB / 482.2 MB, free: 8.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02305/0.521, allocations: 5.059 MB / 487.3 MB, free: 3.766 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-05/0.521, allocations: 12 kB / 487.3 MB, free: 3.754 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/0.521, allocations: 0 / 487.3 MB, free: 3.754 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.602e-05/0.521, allocations: 7.109 kB / 487.3 MB, free: 3.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002057/0.5231, allocations: 1.105 MB / 488.4 MB, free: 2.609 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.605e-05/0.5231, allocations: 7.984 kB / 488.4 MB, free: 2.602 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000587/0.5237, allocations: 99.77 kB / 488.5 MB, free: 2.504 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03502/0.5587, allocations: 6.777 MB / 495.3 MB, free: 11.72 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003137/0.559, allocations: 31.97 kB / 495.3 MB, free: 11.69 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006468/0.5655, allocations: 3.029 MB / 498.4 MB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.68e-06/0.5655, allocations: 3.984 kB / 498.4 MB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02549/0.591, allocations: 5.94 MB / 0.4925 GB, free: 2.637 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000393/0.5914, allocations: 152.5 kB / 0.4926 GB, free: 2.469 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004018/0.5918, allocations: 19.98 kB / 0.4926 GB, free: 2.449 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00152/0.5933, allocations: 171.8 kB / 0.4928 GB, free: 2.281 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000313/0.5936, allocations: 96.86 kB / 0.4929 GB, free: 2.188 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001015/0.5937, allocations: 29.8 kB / 0.4929 GB, free: 2.16 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005125/0.5942, allocations: 362.8 kB / 0.4933 GB, free: 1.809 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5942, allocations: 0 / 0.4933 GB, free: 1.809 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001017/0.5953, allocations: 259.9 kB / 0.4935 GB, free: 1.555 MB / 398.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.0003289/0.5956, allocations: 123.9 kB / 0.4936 GB, free: 1.426 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00661/0.6022, allocations: 1.974 MB / 0.4956 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/0.6022, allocations: 0 / 0.4956 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003692/0.6059, allocations: 1.011 MB / 0.4966 GB, free: 14.42 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000915/0.6068, allocations: 133 kB / 0.4967 GB, free: 14.3 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004196/0.611, allocations: 1.852 MB / 0.4985 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006046/0.6116, allocations: 0.9545 MB / 0.4994 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001996/0.6118, allocations: 43.42 kB / 0.4995 GB, free: 11.4 MB / 414.1 MB Notification: Performance of SimCode: time 1.142e-06/0.6118, allocations: 0 / 0.4995 GB, free: 11.4 MB / 414.1 MB Notification: Performance of Templates: time 0.0241/0.6359, allocations: 17.47 MB / 0.5165 GB, free: 9.984 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/HeatingPNP_NORGate/HeatingPNP_NORGate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingPNP_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: 8.735723688994767]