Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.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.HeatingNPN_OrGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate") translateModel(Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001516/0.001516, allocations: 110.6 kB / 18.4 MB, free: 4.699 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.001509/0.001509, allocations: 186.2 kB / 19.34 MB, free: 3.777 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.534/1.534, 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.001283/0.001283, allocations: 51.92 kB / 329.2 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.103, allocations: 46.62 MB / 375.8 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate): time 0.2462/0.3493, allocations: 4.691 MB / 380.5 MB, free: 9.715 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002783/0.3521, allocations: 1.281 MB / 381.8 MB, free: 9.688 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004788/0.3526, allocations: 9.625 kB / 381.8 MB, free: 9.688 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003243/0.353, allocations: 113 kB / 381.9 MB, free: 9.637 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005617/0.3536, allocations: 245.2 kB / 382.2 MB, free: 9.512 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009713/0.3545, allocations: 304.1 kB / 382.5 MB, free: 9.5 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00125/0.3558, allocations: 1.058 MB / 383.5 MB, free: 9.285 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004019/0.3562, allocations: 258.7 kB / 383.8 MB, free: 9.23 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006394/0.3569, allocations: 412.5 kB / 384.2 MB, free: 9.098 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005513/0.3574, allocations: 449 kB / 384.6 MB, free: 8.891 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000137/0.3576, allocations: 85.12 kB / 384.7 MB, free: 8.891 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002412/0.3578, allocations: 112.6 kB / 384.8 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001429/0.358, allocations: 190.6 kB / 385 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004303/0.3584, allocations: 429.1 kB / 385.4 MB, free: 8.504 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001363/0.3598, allocations: 0.9734 MB / 386.4 MB, free: 8.141 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.3598, allocations: 4 kB / 386.4 MB, free: 8.137 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3598, allocations: 0 / 386.4 MB, free: 8.137 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.976e-05/0.3598, allocations: 2.125 kB / 386.4 MB, free: 8.137 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.002535/0.3624, allocations: 1.209 MB / 387.6 MB, free: 7.316 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/0.3624, allocations: 9.469 kB / 387.6 MB, free: 7.316 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002004/0.3626, allocations: 88.69 kB / 387.7 MB, free: 7.273 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008354/0.3635, allocations: 472.2 kB / 388.2 MB, free: 6.91 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.178e-05/0.3635, allocations: 48.16 kB / 388.2 MB, free: 6.887 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001181/0.3637, allocations: 61.72 kB / 388.3 MB, free: 6.867 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001594/0.3653, allocations: 0.6388 MB / 388.9 MB, free: 6.625 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.431e-05/0.3653, allocations: 0 / 388.9 MB, free: 6.625 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.555e-05/0.3654, allocations: 26.2 kB / 388.9 MB, free: 6.605 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.871e-05/0.3654, allocations: 17.16 kB / 389 MB, free: 6.605 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001754/0.3672, allocations: 0.675 MB / 389.6 MB, free: 6.402 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.004001/0.3712, allocations: 2.306 MB / 391.9 MB, free: 4.977 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001522/0.3727, allocations: 0.5842 MB / 392.5 MB, free: 4.75 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007505/0.3735, allocations: 332.5 kB / 392.8 MB, free: 4.633 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.46e-05/0.3735, allocations: 10.09 kB / 392.9 MB, free: 4.629 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001065/0.3746, allocations: 433.8 kB / 393.3 MB, free: 4.434 MB / 318.1 MB Notification: Performance of pre-optimization done (n=54): time 3.447e-06/0.3746, allocations: 2.594 kB / 393.3 MB, free: 4.434 MB / 318.1 MB Notification: Performance of matching and sorting (n=94): time 0.07054/0.4452, allocations: 15.42 MB / 408.7 MB, free: 13.66 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.72e-05/0.4453, allocations: 144.6 kB / 408.8 MB, free: 13.49 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000679/0.446, allocations: 494.8 kB / 409.3 MB, free: 12.99 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002435/0.4463, allocations: 45.7 kB / 409.4 MB, free: 12.94 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000255/0.4465, allocations: 363.9 kB / 409.7 MB, free: 12.58 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002977/0.4468, allocations: 315.2 kB / 410 MB, free: 12.27 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000384/0.4472, allocations: 174.5 kB / 410.2 MB, free: 12.09 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.4474, allocations: 382.8 kB / 410.6 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002121/0.4495, allocations: 0.7163 MB / 411.3 MB, free: 11 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002213/0.4518, allocations: 0.9342 MB / 412.2 MB, free: 9.98 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004251/0.456, allocations: 1.658 MB / 413.9 MB, free: 8.238 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/0.456, allocations: 3.938 kB / 413.9 MB, free: 8.234 MB / 334.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.0231/0.4792, allocations: 5.352 MB / 419.2 MB, free: 2.859 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.999e-05/0.4793, allocations: 63.39 kB / 419.3 MB, free: 2.785 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.886e-05/0.4793, allocations: 8 kB / 419.3 MB, free: 2.777 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03392/0.5133, allocations: 6.834 MB / 426.1 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008146/0.5141, allocations: 147.7 kB / 426.3 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007344/0.5215, allocations: 3.16 MB / 429.5 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001844/0.5234, allocations: 179.8 kB / 429.6 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001283/0.5235, allocations: 49.97 kB / 429.7 MB, free: 8.355 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.000473/0.524, allocations: 221.6 kB / 429.9 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001528/0.5242, allocations: 83 kB / 430 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02102/0.5452, allocations: 5.101 MB / 435.1 MB, free: 2.938 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.12e-05/0.5453, allocations: 7.969 kB / 435.1 MB, free: 2.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.5453, allocations: 0.5625 kB / 435.1 MB, free: 2.93 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003372/0.5456, allocations: 140.2 kB / 435.2 MB, free: 2.773 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002629/0.5459, allocations: 23.98 kB / 435.2 MB, free: 2.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001369/0.5473, allocations: 166.8 kB / 435.4 MB, free: 2.59 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004081/0.5477, allocations: 144.8 kB / 435.5 MB, free: 2.449 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01305/0.5607, allocations: 3.229 MB / 438.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006295/0.5671, allocations: 2.512 MB / 441.3 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001941/0.5691, allocations: 0.6674 MB / 442 MB, free: 12.04 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004794/0.5696, allocations: 330.9 kB / 442.3 MB, free: 11.72 MB / 366.1 MB Notification: Performance of Backend: time 7.21e-07/0.5696, allocations: 0 / 442.3 MB, free: 11.72 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005481/0.575, allocations: 1.561 MB / 443.8 MB, free: 10.13 MB / 366.1 MB Notification: Performance of SimCode: time 0.003451/0.5785, allocations: 2.412 MB / 446.2 MB, free: 7.684 MB / 366.1 MB Notification: Performance of Templates: time 0.03301/0.6115, allocations: 22.51 MB / 468.8 MB, free: 1.16 MB / 382.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/HeatingNPN_OrGate/HeatingNPN_OrGate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches