Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) 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.HeatingPNP_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_4.0.0_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_4.0.0_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.001122/0.001122, allocations: 110.2 kB / 17.75 MB, free: 5.336 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.001157/0.001157, allocations: 185.4 kB / 18.67 MB, free: 4.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001008/0.001008, allocations: 55.84 kB / 352 MB, free: 3.219 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2204/0.2214, allocations: 49.42 MB / 401.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.004957/0.2264, allocations: 4.944 MB / 406.4 MB, free: 3.887 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001705/0.2281, allocations: 1.26 MB / 407.6 MB, free: 2.617 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000204/0.2283, allocations: 11.94 kB / 407.6 MB, free: 2.605 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002446/0.2286, allocations: 122.7 kB / 407.8 MB, free: 2.484 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003766/0.229, allocations: 261.7 kB / 408 MB, free: 2.227 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005437/0.2295, allocations: 319.4 kB / 408.3 MB, free: 1.914 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008492/0.2304, allocations: 1.103 MB / 409.4 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003272/0.2307, allocations: 254.5 kB / 409.7 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003704/0.2311, allocations: 426.5 kB / 410.1 MB, free: 120 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004642/0.2316, allocations: 470 kB / 410.6 MB, free: 15.66 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001162/0.2317, allocations: 84 kB / 410.6 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001932/0.2319, allocations: 116 kB / 410.8 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001461/0.2321, allocations: 191.3 kB / 410.9 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003396/0.2324, allocations: 445.8 kB / 411.4 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007729/0.2332, allocations: 1.005 MB / 412.4 MB, free: 13.83 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.2332, allocations: 0 / 412.4 MB, free: 13.83 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2332, allocations: 0 / 412.4 MB, free: 13.83 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.138e-06/0.2332, allocations: 0 / 412.4 MB, free: 13.83 MB / 334.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.002357/0.2356, allocations: 1.266 MB / 413.6 MB, free: 12.5 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.2356, allocations: 15.97 kB / 413.7 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001415/0.2358, allocations: 91.91 kB / 413.8 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005686/0.2363, allocations: 475.5 kB / 414.2 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.308e-05/0.2364, allocations: 49.69 kB / 414.3 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/0.2365, allocations: 68.36 kB / 414.3 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001351/0.2379, allocations: 0.6587 MB / 415 MB, free: 11.11 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/0.2379, allocations: 4 kB / 415 MB, free: 11.1 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.424e-05/0.238, allocations: 28 kB / 415 MB, free: 11.07 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/0.238, allocations: 15.94 kB / 415 MB, free: 11.06 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001638/0.2396, allocations: 0.6922 MB / 415.7 MB, free: 10.37 MB / 334.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.003491/0.2431, allocations: 2.394 MB / 418.1 MB, free: 7.82 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001385/0.2445, allocations: 0.5818 MB / 418.7 MB, free: 7.23 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000715/0.2453, allocations: 330 kB / 419 MB, free: 6.906 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.057e-05/0.2453, allocations: 8.438 kB / 419 MB, free: 6.898 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008864/0.2462, allocations: 429.3 kB / 419.5 MB, free: 6.453 MB / 334.1 MB Notification: Performance of pre-optimization done (n=54): time 2.074e-06/0.2462, allocations: 0 / 419.5 MB, free: 6.453 MB / 334.1 MB Notification: Performance of matching and sorting (n=94): time 0.06712/0.3133, allocations: 15.41 MB / 434.9 MB, free: 6.949 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.577e-05/0.3135, allocations: 149.5 kB / 435 MB, free: 6.773 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000713/0.3142, allocations: 0.5224 MB / 435.5 MB, free: 6.238 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001344/0.3143, allocations: 41.7 kB / 435.6 MB, free: 6.191 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002703/0.3146, allocations: 387.8 kB / 435.9 MB, free: 5.805 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002944/0.3149, allocations: 311.5 kB / 436.3 MB, free: 5.496 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003662/0.3153, allocations: 190.4 kB / 436.4 MB, free: 5.305 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.3154, allocations: 386.7 kB / 436.8 MB, free: 4.918 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002082/0.3175, allocations: 0.7243 MB / 437.5 MB, free: 4.191 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002215/0.3198, allocations: 0.9551 MB / 438.5 MB, free: 3.152 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004143/0.3239, allocations: 1.701 MB / 440.2 MB, free: 1.355 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.213e-06/0.3239, allocations: 4 kB / 440.2 MB, free: 1.352 MB / 350.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02337/0.3473, allocations: 5.362 MB / 445.6 MB, free: 11.96 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.154e-05/0.3474, allocations: 63.41 kB / 445.6 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/0.3474, allocations: 4 kB / 445.6 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03406/0.3815, allocations: 6.841 MB / 452.5 MB, free: 5.023 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000699/0.3822, allocations: 147.8 kB / 452.6 MB, free: 4.879 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005853/0.3881, allocations: 3.016 MB / 455.6 MB, free: 1.809 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001619/0.3897, allocations: 179.8 kB / 455.8 MB, free: 1.633 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001413/0.3899, allocations: 43.98 kB / 455.8 MB, free: 1.59 MB / 366.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.0004255/0.3903, allocations: 234.1 kB / 456.1 MB, free: 1.352 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001768/0.3905, allocations: 79.06 kB / 456.2 MB, free: 1.273 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02154/0.412, allocations: 5.099 MB / 461.3 MB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.7e-05/0.4121, allocations: 7.984 kB / 461.3 MB, free: 12.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.4121, allocations: 0 / 461.3 MB, free: 12.15 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001708/0.4122, allocations: 144.2 kB / 461.4 MB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001777/0.4124, allocations: 20 kB / 461.4 MB, free: 11.97 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001361/0.4138, allocations: 167.7 kB / 461.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003598/0.4142, allocations: 148.8 kB / 461.7 MB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0132/0.4274, allocations: 3.21 MB / 464.9 MB, free: 8.434 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006513/0.4339, allocations: 2.516 MB / 467.5 MB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001887/0.4358, allocations: 0.6596 MB / 468.1 MB, free: 5.238 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003958/0.4362, allocations: 354.8 kB / 468.5 MB, free: 4.891 MB / 382.1 MB Notification: Performance of Backend: time 4.91e-07/0.4362, allocations: 0 / 468.5 MB, free: 4.891 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004534/0.4408, allocations: 1.453 MB / 469.9 MB, free: 3.406 MB / 382.1 MB Notification: Performance of SimCode: time 0.002817/0.4436, allocations: 2.442 MB / 472.4 MB, free: 0.9141 MB / 382.1 MB Notification: Performance of Templates: time 0.03211/0.4757, allocations: 21.87 MB / 494.2 MB, free: 11.11 MB / 414.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/HeatingPNP_NORGate/HeatingPNP_NORGate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches