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.001097/0.001098, allocations: 99.23 kB / 16.94 MB, free: 5.98 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.001261/0.001261, allocations: 176.6 kB / 17.82 MB, free: 5.652 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.547/1.547, allocations: 205.4 MB / 224 MB, free: 13.16 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.0007057/0.0007058, allocations: 12 kB / 280.7 MB, free: 3.75 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1258, allocations: 47.59 MB / 328.3 MB, free: 4.094 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate): time 0.004024/0.1298, allocations: 3.781 MB / 332.1 MB, free: 296 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002372/0.1322, allocations: 1.277 MB / 333.4 MB, free: 15 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002871/0.1325, allocations: 11.94 kB / 333.4 MB, free: 14.99 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001315/0.1327, allocations: 79.36 kB / 333.5 MB, free: 14.91 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005078/0.1332, allocations: 263.2 kB / 333.7 MB, free: 14.66 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005462/0.1337, allocations: 215.6 kB / 333.9 MB, free: 14.45 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007219/0.1345, allocations: 0.6682 MB / 334.6 MB, free: 13.78 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003661/0.1348, allocations: 195.5 kB / 334.8 MB, free: 13.57 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003965/0.1353, allocations: 350.8 kB / 335.1 MB, free: 13.23 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004285/0.1357, allocations: 402.4 kB / 335.5 MB, free: 12.83 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.709e-05/0.1358, allocations: 44 kB / 335.6 MB, free: 12.79 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001592/0.136, allocations: 63.98 kB / 335.6 MB, free: 12.73 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000129/0.1361, allocations: 147.4 kB / 335.8 MB, free: 12.58 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001478/0.1363, allocations: 165.3 kB / 335.9 MB, free: 12.41 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006151/0.1369, allocations: 0.7092 MB / 336.7 MB, free: 11.7 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.1369, allocations: 0 / 336.7 MB, free: 11.7 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1369, allocations: 0 / 336.7 MB, free: 11.7 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.295e-06/0.1369, allocations: 0 / 336.7 MB, free: 11.7 MB / 286.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.002132/0.139, allocations: 1.126 MB / 337.8 MB, free: 10.51 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.1391, allocations: 8.031 kB / 337.8 MB, free: 10.5 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000136/0.1392, allocations: 91 kB / 337.9 MB, free: 10.41 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005773/0.1398, allocations: 448.5 kB / 338.3 MB, free: 9.938 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.44e-05/0.1399, allocations: 53.25 kB / 338.4 MB, free: 9.887 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.695e-05/0.14, allocations: 56 kB / 338.4 MB, free: 9.832 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001258/0.1412, allocations: 0.6545 MB / 339.1 MB, free: 9.168 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.1413, allocations: 0 / 339.1 MB, free: 9.168 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.923e-05/0.1413, allocations: 24 kB / 339.1 MB, free: 9.145 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.489e-05/0.1414, allocations: 20 kB / 339.1 MB, free: 9.125 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001681/0.1431, allocations: 0.7312 MB / 339.9 MB, free: 8.395 MB / 286.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.003631/0.1467, allocations: 2.371 MB / 342.2 MB, free: 5.863 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001379/0.1481, allocations: 0.6335 MB / 342.9 MB, free: 5.223 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5e-05/0.1481, allocations: 8.422 kB / 342.9 MB, free: 5.215 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009188/0.1491, allocations: 457.3 kB / 343.3 MB, free: 4.742 MB / 286.1 MB Notification: Performance of pre-optimization done (n=54): time 1.984e-06/0.1491, allocations: 0 / 343.3 MB, free: 4.742 MB / 286.1 MB Notification: Performance of matching and sorting (n=94): time 0.06736/0.2165, allocations: 16.71 MB / 360 MB, free: 3.934 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.811e-05/0.2166, allocations: 149.5 kB / 360.2 MB, free: 3.758 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006281/0.2172, allocations: 490.8 kB / 360.6 MB, free: 3.273 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001873/0.2174, allocations: 45.7 kB / 360.7 MB, free: 3.223 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002799/0.2177, allocations: 363.9 kB / 361 MB, free: 2.859 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000365/0.2181, allocations: 319.4 kB / 361.4 MB, free: 2.543 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.818e-05/0.2182, allocations: 16 kB / 361.4 MB, free: 2.527 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.2183, allocations: 382.8 kB / 361.7 MB, free: 2.145 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002073/0.2204, allocations: 0.7944 MB / 362.5 MB, free: 1.352 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002098/0.2225, allocations: 0.9929 MB / 363.5 MB, free: 284 kB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00209/0.2247, allocations: 0.877 MB / 364.4 MB, free: 15.39 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.2247, allocations: 4 kB / 364.4 MB, free: 15.38 MB / 318.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.02177/0.2465, allocations: 5.62 MB / 370 MB, free: 9.738 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001039/0.2466, allocations: 59.41 kB / 370.1 MB, free: 9.668 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.84e-05/0.2466, allocations: 4 kB / 370.1 MB, free: 9.664 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03341/0.28, allocations: 7.324 MB / 377.4 MB, free: 2.324 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008107/0.2809, allocations: 171.8 kB / 377.6 MB, free: 2.156 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2091/0.49, allocations: 3.213 MB / 380.8 MB, free: 51.72 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001749/0.4918, allocations: 225.3 kB / 381 MB, free: 51.72 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001027/0.4919, allocations: 42.41 kB / 381.1 MB, free: 51.72 MB / 318.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 ($whenCondition2,$whenCondition1,$PRE.V1.signalSource.T_start,V1.signalSource.T_start,$PRE.V1.signalSource.count,V1.signalSource.count,$PRE.V2.signalSource.T_start,V2.signalSource.T_start,$PRE.V2.signalSource.count,V2.signalSource.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {5 32,5 32} Notification: Performance of prepare postOptimizeDAE: time 0.0004182/0.4924, allocations: 224.8 kB / 381.3 MB, free: 51.61 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001594/0.4925, allocations: 74.28 kB / 381.4 MB, free: 51.61 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02282/0.5153, allocations: 5.466 MB / 386.8 MB, free: 51.43 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.509e-05/0.5154, allocations: 8.719 kB / 386.8 MB, free: 51.43 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.878e-06/0.5154, allocations: 1.312 kB / 386.8 MB, free: 51.43 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.696e-05/0.5155, allocations: 8.562 kB / 386.8 MB, free: 51.43 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001552/0.517, allocations: 1.083 MB / 387.9 MB, free: 50.87 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.576e-06/0.517, allocations: 0 / 387.9 MB, free: 50.87 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005376/0.5176, allocations: 126.6 kB / 388 MB, free: 50.87 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0317/0.5493, allocations: 7.289 MB / 395.3 MB, free: 49.43 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002239/0.5496, allocations: 19.95 kB / 395.4 MB, free: 49.42 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004814/0.5544, allocations: 3.099 MB / 398.5 MB, free: 47.34 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.5544, allocations: 4 kB / 398.5 MB, free: 47.34 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02391/0.5783, allocations: 6.413 MB / 404.9 MB, free: 40.92 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003635/0.5787, allocations: 136.3 kB / 405 MB, free: 40.77 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003594/0.5791, allocations: 23.98 kB / 405 MB, free: 40.75 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001842/0.581, allocations: 211.8 kB / 405.2 MB, free: 40.54 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003521/0.5813, allocations: 104.8 kB / 405.3 MB, free: 40.44 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001325/0.5815, allocations: 31.97 kB / 405.4 MB, free: 40.41 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004628/0.582, allocations: 330.8 kB / 405.7 MB, free: 40.09 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.582, allocations: 0 / 405.7 MB, free: 40.09 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001086/0.5831, allocations: 262.4 kB / 405.9 MB, free: 39.83 MB / 318.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {5 32,5 36} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002892/0.5834, allocations: 128 kB / 406.1 MB, free: 39.7 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.008099/0.5915, allocations: 2.327 MB / 408.4 MB, free: 37.35 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.5915, allocations: 384 / 408.4 MB, free: 37.35 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004153/0.5957, allocations: 1.155 MB / 409.6 MB, free: 36.2 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009133/0.5966, allocations: 113.2 kB / 409.7 MB, free: 36.09 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00469/0.6013, allocations: 2.043 MB / 411.7 MB, free: 34.05 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003472/0.6017, allocations: 0.9516 MB / 412.7 MB, free: 33.07 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002492/0.6019, allocations: 54.64 kB / 412.7 MB, free: 33.01 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.889e-05/0.602, allocations: 31.44 kB / 412.7 MB, free: 32.98 MB / 318.1 MB Notification: Performance of SimCode: time 1.523e-06/0.6021, allocations: 0 / 412.7 MB, free: 32.98 MB / 318.1 MB Notification: Performance of Templates: time 0.03075/0.6328, allocations: 19.77 MB / 432.5 MB, free: 13.2 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/HeatingNPN_OrGate/HeatingNPN_OrGate.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches