Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.HeatingPNP_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate") translateModel(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 111.9 kB / 18.4 MB, free: 4.566 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001514/0.001514, allocations: 190.3 kB / 19.33 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.366/1.366, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 55.92 kB / 329.2 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08917/0.09051, allocations: 46.61 MB / 375.8 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.2095/0.3001, allocations: 4.69 MB / 380.5 MB, free: 9.719 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002568/0.3027, allocations: 1.28 MB / 381.8 MB, free: 9.691 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003348/0.3031, allocations: 12.53 kB / 381.8 MB, free: 9.691 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002661/0.3034, allocations: 110.6 kB / 381.9 MB, free: 9.637 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004188/0.3038, allocations: 246.9 kB / 382.2 MB, free: 9.512 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007339/0.3045, allocations: 301.6 kB / 382.5 MB, free: 9.5 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001058/0.3056, allocations: 1.059 MB / 383.5 MB, free: 9.285 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004453/0.3061, allocations: 257.3 kB / 383.8 MB, free: 9.23 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006428/0.3067, allocations: 409.2 kB / 384.2 MB, free: 9.094 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005347/0.3073, allocations: 455.6 kB / 384.6 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001456/0.3074, allocations: 85.94 kB / 384.7 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002434/0.3077, allocations: 111.6 kB / 384.8 MB, free: 8.875 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001437/0.3078, allocations: 188.4 kB / 385 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003461/0.3082, allocations: 429.7 kB / 385.4 MB, free: 8.496 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001049/0.3092, allocations: 0.9748 MB / 386.4 MB, free: 8.133 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3092, allocations: 0 / 386.4 MB, free: 8.133 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.3092, allocations: 0 / 386.4 MB, free: 8.133 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.415e-05/0.3093, allocations: 2.188 kB / 386.4 MB, free: 8.133 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.00253/0.3118, allocations: 1.21 MB / 387.6 MB, free: 7.312 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.3119, allocations: 9.406 kB / 387.6 MB, free: 7.312 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001705/0.312, allocations: 88.88 kB / 387.7 MB, free: 7.27 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006938/0.3127, allocations: 471.9 kB / 388.1 MB, free: 6.91 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.854e-05/0.3128, allocations: 55.14 kB / 388.2 MB, free: 6.879 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000121/0.3129, allocations: 63.44 kB / 388.3 MB, free: 6.859 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00147/0.3144, allocations: 0.6386 MB / 388.9 MB, free: 6.617 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.064e-05/0.3144, allocations: 0 / 388.9 MB, free: 6.617 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.242e-05/0.3145, allocations: 25.88 kB / 388.9 MB, free: 6.598 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.482e-05/0.3145, allocations: 14.62 kB / 388.9 MB, free: 6.598 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001627/0.3162, allocations: 0.6741 MB / 389.6 MB, free: 6.395 MB / 318.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.003744/0.3199, allocations: 2.305 MB / 391.9 MB, free: 4.969 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001447/0.3214, allocations: 0.5865 MB / 392.5 MB, free: 4.742 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007388/0.3221, allocations: 337.7 kB / 392.8 MB, free: 4.621 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.039e-05/0.3222, allocations: 8.109 kB / 392.8 MB, free: 4.617 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009678/0.3232, allocations: 433 kB / 393.3 MB, free: 4.426 MB / 318.1 MB Notification: Performance of pre-optimization done (n=54): time 2.285e-06/0.3232, allocations: 0 / 393.3 MB, free: 4.426 MB / 318.1 MB Notification: Performance of matching and sorting (n=94): time 0.06508/0.3883, allocations: 15.41 MB / 408.7 MB, free: 13.67 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/0.3884, allocations: 145.5 kB / 408.8 MB, free: 13.5 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000742/0.3892, allocations: 494.8 kB / 409.3 MB, free: 13 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002351/0.3894, allocations: 53.7 kB / 409.4 MB, free: 12.95 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003017/0.3897, allocations: 362 kB / 409.7 MB, free: 12.59 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003236/0.3901, allocations: 315 kB / 410 MB, free: 12.28 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003692/0.3904, allocations: 178.5 kB / 410.2 MB, free: 12.1 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.3906, allocations: 379.5 kB / 410.6 MB, free: 11.72 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001981/0.3926, allocations: 0.7163 MB / 411.3 MB, free: 11 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002092/0.3947, allocations: 0.9265 MB / 412.2 MB, free: 9.996 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003996/0.3987, allocations: 1.662 MB / 413.9 MB, free: 8.25 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/0.3987, allocations: 4 kB / 413.9 MB, free: 8.246 MB / 334.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.02232/0.4211, allocations: 5.351 MB / 419.2 MB, free: 2.871 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.726e-05/0.4212, allocations: 63.39 kB / 419.3 MB, free: 2.797 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.684e-05/0.4212, allocations: 4 kB / 419.3 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03231/0.4535, allocations: 6.829 MB / 426.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007278/0.4543, allocations: 144.6 kB / 426.3 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005914/0.4602, allocations: 3.008 MB / 429.3 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001749/0.462, allocations: 183.8 kB / 429.4 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001655/0.4622, allocations: 43.97 kB / 429.5 MB, free: 8.535 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (50): * Single equations (assignments): 46 * 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.000505/0.4627, allocations: 225.6 kB / 429.7 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002026/0.4629, allocations: 75.06 kB / 429.8 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02112/0.484, allocations: 5.097 MB / 434.9 MB, free: 3.125 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-05/0.4841, allocations: 15.94 kB / 434.9 MB, free: 3.109 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.4841, allocations: 0 / 434.9 MB, free: 3.109 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.748e-05/0.4841, allocations: 3.984 kB / 434.9 MB, free: 3.105 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001852/0.486, allocations: 1.091 MB / 436 MB, free: 1.977 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.12e-05/0.486, allocations: 3.938 kB / 436 MB, free: 1.973 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005613/0.4866, allocations: 95.81 kB / 436.1 MB, free: 1.879 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03147/0.5181, allocations: 6.783 MB / 442.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002581/0.5184, allocations: 27.97 kB / 442.9 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005754/0.5241, allocations: 3.026 MB / 445.9 MB, free: 7.984 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.269e-06/0.5242, allocations: 0 / 445.9 MB, free: 7.984 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02311/0.5473, allocations: 5.995 MB / 451.9 MB, free: 1.965 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002946/0.5476, allocations: 144.2 kB / 452.1 MB, free: 1.805 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003341/0.548, allocations: 16 kB / 452.1 MB, free: 1.789 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001505/0.5495, allocations: 175.8 kB / 452.2 MB, free: 1.617 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003122/0.5498, allocations: 93.53 kB / 452.3 MB, free: 1.527 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001217/0.5499, allocations: 35.97 kB / 452.4 MB, free: 1.492 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004166/0.5504, allocations: 342.8 kB / 452.7 MB, free: 1.16 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5504, allocations: 0 / 452.7 MB, free: 1.16 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000911/0.5513, allocations: 248 kB / 452.9 MB, free: 0.918 MB / 366.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.0002884/0.5516, allocations: 128.3 kB / 453.1 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005904/0.5575, allocations: 2.04 MB / 455.1 MB, free: 14.72 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/0.5576, allocations: 4 kB / 455.1 MB, free: 14.72 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003436/0.561, allocations: 1.095 MB / 456.2 MB, free: 13.63 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009876/0.562, allocations: 123.2 kB / 456.3 MB, free: 13.51 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00387/0.5659, allocations: 1.78 MB / 458.1 MB, free: 11.7 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005435/0.5665, allocations: 0.9388 MB / 459.1 MB, free: 10.74 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001915/0.5667, allocations: 31.44 kB / 459.1 MB, free: 10.71 MB / 382.1 MB Notification: Performance of SimCode: time 1.322e-06/0.5667, allocations: 0 / 459.1 MB, free: 10.71 MB / 382.1 MB Notification: Performance of Templates: time 0.02402/0.5907, allocations: 16.89 MB / 476 MB, free: 9.801 MB / 398.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/HeatingPNP_NORGate/HeatingPNP_NORGate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches