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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingPNP_NORGate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingPNP_NORGate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001502/0.001502, allocations: 110.4 kB / 17.73 MB, free: 5.34 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.001531/0.001531, allocations: 183.1 kB / 18.67 MB, free: 4.41 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.515/1.515, allocations: 205.1 MB / 224.5 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.001772/0.001772, allocations: 55.92 kB / 328 MB, free: 3.785 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1113, allocations: 46.62 MB / 374.7 MB, free: 5.055 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.006858/0.1182, allocations: 4.684 MB / 379.4 MB, free: 352 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2176/0.3358, allocations: 1.275 MB / 380.6 MB, free: 9.199 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003599/0.3362, allocations: 9.922 kB / 380.6 MB, free: 9.199 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002816/0.3366, allocations: 113.6 kB / 380.7 MB, free: 9.199 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004262/0.337, allocations: 252.9 kB / 381 MB, free: 9.094 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006663/0.3377, allocations: 294.1 kB / 381.3 MB, free: 9.082 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009569/0.3386, allocations: 1.053 MB / 382.3 MB, free: 8.875 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004357/0.3391, allocations: 263.5 kB / 382.6 MB, free: 8.824 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005247/0.3396, allocations: 410.1 kB / 383 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005433/0.3402, allocations: 455.4 kB / 383.4 MB, free: 8.613 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001238/0.3403, allocations: 84.88 kB / 383.5 MB, free: 8.613 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002244/0.3405, allocations: 113 kB / 383.6 MB, free: 8.605 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001487/0.3407, allocations: 185.5 kB / 383.8 MB, free: 8.484 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003548/0.341, allocations: 430.4 kB / 384.2 MB, free: 8.23 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000959/0.342, allocations: 0.9723 MB / 385.2 MB, free: 7.867 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.342, allocations: 1.578 kB / 385.2 MB, free: 7.867 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.342, allocations: 3.938 kB / 385.2 MB, free: 7.863 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.191e-05/0.342, allocations: 0 / 385.2 MB, free: 7.863 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.002212/0.3443, allocations: 1.235 MB / 386.4 MB, free: 7.02 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.3443, allocations: 12.81 kB / 386.5 MB, free: 7.016 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001152/0.3444, allocations: 102.6 kB / 386.6 MB, free: 6.941 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001414/0.3446, allocations: 92.81 kB / 386.6 MB, free: 6.895 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006053/0.3452, allocations: 476.5 kB / 387.1 MB, free: 6.531 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.832e-05/0.3452, allocations: 42.66 kB / 387.2 MB, free: 6.512 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.673e-05/0.3453, allocations: 62.19 kB / 387.2 MB, free: 6.492 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001302/0.3466, allocations: 0.6414 MB / 387.9 MB, free: 6.25 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.002e-05/0.3467, allocations: 1.781 kB / 387.9 MB, free: 6.25 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.803e-05/0.3467, allocations: 26.98 kB / 387.9 MB, free: 6.23 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.352e-05/0.3468, allocations: 14.72 kB / 387.9 MB, free: 6.23 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001631/0.3484, allocations: 0.6776 MB / 388.6 MB, free: 6.023 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.003364/0.3518, allocations: 2.309 MB / 390.9 MB, free: 4.594 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001403/0.3532, allocations: 0.5838 MB / 391.5 MB, free: 4.367 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007136/0.3539, allocations: 343.4 kB / 391.8 MB, free: 4.246 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.016e-05/0.354, allocations: 7.031 kB / 391.8 MB, free: 4.242 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009127/0.3549, allocations: 433.8 kB / 392.2 MB, free: 4.047 MB / 318.1 MB Notification: Performance of pre-optimization done (n=54): time 2.965e-06/0.3549, allocations: 0 / 392.2 MB, free: 4.047 MB / 318.1 MB Notification: Performance of matching and sorting (n=94): time 0.06689/0.4218, allocations: 15.44 MB / 407.7 MB, free: 13.46 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001154/0.422, allocations: 141.5 kB / 407.8 MB, free: 13.29 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007179/0.4227, allocations: 494.9 kB / 408.3 MB, free: 12.8 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002265/0.4229, allocations: 41.7 kB / 408.3 MB, free: 12.75 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000301/0.4232, allocations: 374.9 kB / 408.7 MB, free: 12.38 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003264/0.4236, allocations: 325.1 kB / 409 MB, free: 12.07 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000391/0.424, allocations: 182.5 kB / 409.2 MB, free: 11.88 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002049/0.4242, allocations: 386.8 kB / 409.6 MB, free: 11.49 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002119/0.4263, allocations: 0.7202 MB / 410.3 MB, free: 10.77 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002276/0.4286, allocations: 0.9271 MB / 411.2 MB, free: 9.766 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004262/0.4329, allocations: 1.658 MB / 412.9 MB, free: 8.023 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.4329, allocations: 0 / 412.9 MB, free: 8.023 MB / 334.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.02337/0.4563, allocations: 5.345 MB / 418.2 MB, free: 2.656 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001114/0.4564, allocations: 63.39 kB / 418.3 MB, free: 2.582 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.061e-05/0.4564, allocations: 8 kB / 418.3 MB, free: 2.574 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03389/0.4903, allocations: 6.825 MB / 425.1 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007359/0.4911, allocations: 144.4 kB / 425.3 MB, free: 11.6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006164/0.4973, allocations: 3.016 MB / 428.3 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00175/0.4991, allocations: 171.9 kB / 428.4 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001373/0.4992, allocations: 48.84 kB / 428.5 MB, free: 8.316 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.0005533/0.4998, allocations: 225.6 kB / 428.7 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001866/0.5, allocations: 79.53 kB / 428.8 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0221/0.5221, allocations: 5.108 MB / 433.9 MB, free: 2.895 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.273e-05/0.5222, allocations: 11.94 kB / 433.9 MB, free: 2.883 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.125e-05/0.5222, allocations: 4 kB / 433.9 MB, free: 2.879 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.477e-05/0.5222, allocations: 3.984 kB / 433.9 MB, free: 2.875 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001844/0.5241, allocations: 1.091 MB / 435 MB, free: 1.746 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.745e-06/0.5241, allocations: 3.984 kB / 435 MB, free: 1.742 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005439/0.5246, allocations: 91.89 kB / 435.1 MB, free: 1.652 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03331/0.558, allocations: 6.786 MB / 441.9 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002884/0.5583, allocations: 23.97 kB / 441.9 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00627/0.5646, allocations: 3.035 MB / 445 MB, free: 7.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.5646, allocations: 0 / 445 MB, free: 7.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02486/0.5895, allocations: 5.989 MB / 450.9 MB, free: 1.734 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003624/0.5899, allocations: 153.7 kB / 451.1 MB, free: 1.566 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002542/0.5902, allocations: 20 kB / 451.1 MB, free: 1.547 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001418/0.5916, allocations: 167.7 kB / 451.3 MB, free: 1.383 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003047/0.5919, allocations: 100.9 kB / 451.4 MB, free: 1.285 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001029/0.592, allocations: 31.97 kB / 451.4 MB, free: 1.254 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004762/0.5925, allocations: 338.8 kB / 451.7 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5925, allocations: 0 / 451.7 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008655/0.5934, allocations: 252 kB / 452 MB, free: 0.6797 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.02605/0.6195, allocations: 6.563 MB / 458.5 MB, free: 10.09 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006708/0.6262, allocations: 2.038 MB / 460.6 MB, free: 8.027 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.6263, allocations: 4 kB / 460.6 MB, free: 8.023 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00381/0.6301, allocations: 1.089 MB / 461.7 MB, free: 6.938 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000838/0.631, allocations: 130.5 kB / 461.8 MB, free: 6.812 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05575/0.6867, allocations: 15.78 MB / 477.6 MB, free: 6.793 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006324/0.6874, allocations: 0.935 MB / 478.5 MB, free: 5.828 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004034/0.6878, allocations: 54.12 kB / 478.6 MB, free: 5.773 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003758/0.6882, allocations: 263.3 kB / 478.8 MB, free: 5.516 MB / 398.1 MB Notification: Performance of SimCode: time 7.42e-07/0.6882, allocations: 0 / 478.8 MB, free: 5.516 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06906/0.7573, allocations: 29.38 MB / 0.4963 GB, free: 8.055 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.56/14.32, allocations: 3.984 kB / 0.4963 GB, free: 8.051 MB / 430.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingPNP_NORGate_fmu --startTime=0 --stopTime=200 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingPNP_NORGate.fmu > 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