Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate") translateModel(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001982/0.001982, allocations: 114.5 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002686/0.002686, allocations: 213.9 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.151/2.151, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 59.89 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2785/0.2798, allocations: 50.54 MB / 409.9 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate): time 0.005899/0.2858, allocations: 4.961 MB / 414.9 MB, free: 12.6 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002755/0.2886, allocations: 1.291 MB / 416.2 MB, free: 11.3 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004939/0.2891, allocations: 8 kB / 416.2 MB, free: 11.3 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003514/0.2895, allocations: 134.6 kB / 416.3 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005386/0.2901, allocations: 245.7 kB / 416.6 MB, free: 10.92 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007721/0.2908, allocations: 315.4 kB / 416.9 MB, free: 10.61 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001179/0.292, allocations: 1.103 MB / 418 MB, free: 9.504 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003961/0.2925, allocations: 262.5 kB / 418.2 MB, free: 9.23 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005713/0.293, allocations: 422.5 kB / 418.7 MB, free: 8.816 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005353/0.2936, allocations: 466 kB / 419.1 MB, free: 8.359 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001286/0.2937, allocations: 88 kB / 419.2 MB, free: 8.273 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002169/0.2939, allocations: 112 kB / 419.3 MB, free: 8.164 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001658/0.2941, allocations: 191.3 kB / 419.5 MB, free: 7.977 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004178/0.2945, allocations: 449.8 kB / 419.9 MB, free: 7.535 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001063/0.2956, allocations: 0.9977 MB / 420.9 MB, free: 6.539 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.2956, allocations: 7.938 kB / 420.9 MB, free: 6.531 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.2956, allocations: 4 kB / 420.9 MB, free: 6.527 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.592e-05/0.2957, allocations: 0 / 420.9 MB, free: 6.527 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.002601/0.2983, allocations: 1.266 MB / 422.2 MB, free: 5.195 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.2983, allocations: 8.031 kB / 422.2 MB, free: 5.188 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001622/0.2985, allocations: 91.91 kB / 422.3 MB, free: 5.098 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007639/0.2993, allocations: 491.5 kB / 422.8 MB, free: 4.574 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.076e-05/0.2993, allocations: 45.69 kB / 422.8 MB, free: 4.527 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/0.2994, allocations: 64.38 kB / 422.9 MB, free: 4.465 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00141/0.3009, allocations: 0.6548 MB / 423.6 MB, free: 3.809 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.009e-05/0.3009, allocations: 0 / 423.6 MB, free: 3.809 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.198e-05/0.301, allocations: 28 kB / 423.6 MB, free: 3.781 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.294e-05/0.301, allocations: 16 kB / 423.6 MB, free: 3.766 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00166/0.3026, allocations: 0.6961 MB / 424.3 MB, free: 3.066 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.004037/0.3067, allocations: 2.363 MB / 426.7 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001514/0.3082, allocations: 0.5966 MB / 427.2 MB, free: 15.94 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007473/0.309, allocations: 333.9 kB / 427.6 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.265e-05/0.309, allocations: 12.34 kB / 427.6 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009555/0.31, allocations: 425.4 kB / 428 MB, free: 15.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 2.675e-06/0.31, allocations: 0 / 428 MB, free: 15.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.07591/0.3859, allocations: 15.43 MB / 443.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00011/0.3861, allocations: 137.5 kB / 443.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007816/0.3869, allocations: 0.5224 MB / 444.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002382/0.3871, allocations: 41.7 kB / 444.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000315/0.3875, allocations: 391.8 kB / 444.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004168/0.3879, allocations: 323.4 kB / 444.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004509/0.3884, allocations: 182.5 kB / 445 MB, free: 14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001864/0.3886, allocations: 386.7 kB / 445.4 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002182/0.3907, allocations: 0.7205 MB / 446.1 MB, free: 12.89 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002282/0.393, allocations: 0.9629 MB / 447.1 MB, free: 11.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004426/0.3975, allocations: 1.697 MB / 448.8 MB, free: 10.05 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.028e-05/0.3975, allocations: 4 kB / 448.8 MB, free: 10.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02337/0.4209, allocations: 5.374 MB / 454.1 MB, free: 4.641 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.667e-05/0.4211, allocations: 67.39 kB / 454.2 MB, free: 4.562 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.071e-05/0.4211, allocations: 12.06 kB / 454.2 MB, free: 4.551 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03455/0.4557, allocations: 6.84 MB / 461.1 MB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008344/0.4566, allocations: 151.7 kB / 461.2 MB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008545/0.4651, allocations: 3.157 MB / 464.4 MB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002221/0.4674, allocations: 175.9 kB / 464.5 MB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002739/0.4677, allocations: 47.97 kB / 464.6 MB, free: 10.12 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.000659/0.4684, allocations: 229.6 kB / 464.8 MB, free: 9.883 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002756/0.4687, allocations: 82.97 kB / 464.9 MB, free: 9.801 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02903/0.4977, allocations: 5.118 MB / 470 MB, free: 4.664 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.793e-05/0.4978, allocations: 12 kB / 470 MB, free: 4.652 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/0.4978, allocations: 0 / 470 MB, free: 4.652 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.238e-05/0.4978, allocations: 3.984 kB / 470 MB, free: 4.648 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002333/0.5002, allocations: 1.1 MB / 471.1 MB, free: 3.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.22e-05/0.5002, allocations: 4 kB / 471.1 MB, free: 3.496 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007365/0.501, allocations: 87.88 kB / 471.2 MB, free: 3.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.04319/0.5442, allocations: 6.793 MB / 478 MB, free: 12.6 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003996/0.5446, allocations: 28.22 kB / 478 MB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008602/0.5532, allocations: 3.044 MB / 481.1 MB, free: 9.473 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.5533, allocations: 0 / 481.1 MB, free: 9.473 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03229/0.5856, allocations: 5.987 MB / 487.1 MB, free: 3.453 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004086/0.5861, allocations: 152.1 kB / 487.2 MB, free: 3.285 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003522/0.5864, allocations: 20 kB / 487.2 MB, free: 3.266 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001926/0.5884, allocations: 171.8 kB / 487.4 MB, free: 3.098 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003842/0.5888, allocations: 92.88 kB / 487.5 MB, free: 3.008 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001605/0.589, allocations: 31.97 kB / 487.5 MB, free: 2.977 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007093/0.5897, allocations: 354.8 kB / 487.9 MB, free: 2.629 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.7e-07/0.5897, allocations: 7.938 kB / 487.9 MB, free: 2.621 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00114/0.5908, allocations: 264 kB / 488.1 MB, free: 2.363 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.0003779/0.5912, allocations: 130.8 kB / 488.3 MB, free: 2.23 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.009635/0.6009, allocations: 2.189 MB / 490.4 MB, free: 20 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.6009, allocations: 0 / 490.4 MB, free: 20 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005066/0.606, allocations: 1.085 MB / 491.5 MB, free: 14.93 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00124/0.6073, allocations: 126.4 kB / 491.7 MB, free: 14.8 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005675/0.613, allocations: 1.816 MB / 493.5 MB, free: 12.96 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008055/0.6138, allocations: 0.9505 MB / 494.4 MB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002548/0.6141, allocations: 39.44 kB / 494.5 MB, free: 11.94 MB / 414.1 MB Notification: Performance of SimCode: time 7.71e-07/0.6141, allocations: 0 / 494.5 MB, free: 11.94 MB / 414.1 MB Notification: Performance of Templates: time 0.03222/0.6464, allocations: 17.56 MB / 0.5 GB, free: 10.41 MB / 430.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/HeatingNPN_NORGate/HeatingNPN_NORGate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches