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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001883/0.001883, allocations: 120.1 kB / 18.5 MB, free: 4.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001619/0.001619, allocations: 222.3 kB / 21.46 MB, free: 1.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.492/1.492, allocations: 230.4 MB / 254.7 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingNPN_NORGate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingNPN_NORGate",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 63.89 kB / 373.7 MB, free: 10.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1051, allocations: 53.37 MB / 427.1 MB, free: 4.543 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate): time 0.2289/0.3339, allocations: 4.991 MB / 432.1 MB, free: 7.586 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002582/0.3365, allocations: 1.285 MB / 433.4 MB, free: 7.566 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006712/0.3372, allocations: 15.72 kB / 433.4 MB, free: 7.566 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000424/0.3376, allocations: 129.9 kB / 433.5 MB, free: 7.531 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007477/0.3384, allocations: 261.2 kB / 433.8 MB, free: 7.406 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008035/0.3392, allocations: 308.1 kB / 434.1 MB, free: 7.395 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00123/0.3404, allocations: 1.102 MB / 435.2 MB, free: 7.156 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003051/0.3407, allocations: 189.9 kB / 435.3 MB, free: 7.117 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005288/0.3412, allocations: 426.9 kB / 435.8 MB, free: 7.039 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005414/0.3418, allocations: 479.1 kB / 436.2 MB, free: 6.941 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000132/0.3419, allocations: 90.28 kB / 436.3 MB, free: 6.941 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002334/0.3421, allocations: 114.5 kB / 436.4 MB, free: 6.941 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001476/0.3423, allocations: 203.6 kB / 436.6 MB, free: 6.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003597/0.3426, allocations: 453.2 kB / 437.1 MB, free: 6.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001111/0.3437, allocations: 1.035 MB / 438.1 MB, free: 6.184 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3438, allocations: 5.906 kB / 438.1 MB, free: 6.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3438, allocations: 0 / 438.1 MB, free: 6.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.684e-05/0.3438, allocations: 4.062 kB / 438.1 MB, free: 6.18 MB / 350.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.00251/0.3463, allocations: 1.281 MB / 439.4 MB, free: 5.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.3463, allocations: 8.688 kB / 439.4 MB, free: 5.32 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.197e-05/0.3464, allocations: 17.47 kB / 439.4 MB, free: 5.316 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001069/0.3465, allocations: 106.2 kB / 439.5 MB, free: 5.238 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001595/0.3466, allocations: 100 kB / 439.6 MB, free: 5.188 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006152/0.3472, allocations: 496.2 kB / 440.1 MB, free: 4.812 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.804e-05/0.3473, allocations: 48.22 kB / 440.2 MB, free: 4.793 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/0.3474, allocations: 67.14 kB / 440.2 MB, free: 4.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001421/0.3488, allocations: 0.6577 MB / 440.9 MB, free: 4.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.197e-05/0.3488, allocations: 1 kB / 440.9 MB, free: 4.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.571e-05/0.3489, allocations: 26.61 kB / 440.9 MB, free: 4.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.216e-05/0.3489, allocations: 15.38 kB / 440.9 MB, free: 4.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001844/0.3507, allocations: 0.6999 MB / 441.6 MB, free: 4.281 MB / 350.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.004238/0.355, allocations: 2.372 MB / 444 MB, free: 2.832 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001507/0.3565, allocations: 0.5648 MB / 444.6 MB, free: 2.605 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008452/0.3573, allocations: 311.1 kB / 444.9 MB, free: 2.496 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.329e-05/0.3574, allocations: 11.58 kB / 444.9 MB, free: 2.496 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001001/0.3584, allocations: 429.7 kB / 445.3 MB, free: 2.309 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 2.595e-06/0.3584, allocations: 1.344 kB / 445.3 MB, free: 2.309 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.07147/0.4299, allocations: 15.38 MB / 460.7 MB, free: 12.51 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/0.43, allocations: 144.2 kB / 460.8 MB, free: 12.35 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000691/0.4307, allocations: 0.5266 MB / 461.3 MB, free: 12.02 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002062/0.4309, allocations: 42.8 kB / 461.4 MB, free: 11.98 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003011/0.4312, allocations: 395.4 kB / 461.8 MB, free: 11.63 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003226/0.4315, allocations: 333.1 kB / 462.1 MB, free: 11.35 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003744/0.4319, allocations: 184.8 kB / 462.3 MB, free: 11.23 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002029/0.4321, allocations: 392.2 kB / 462.7 MB, free: 10.86 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002093/0.4342, allocations: 0.7193 MB / 463.4 MB, free: 10.5 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002195/0.4364, allocations: 0.9542 MB / 464.3 MB, free: 9.863 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004243/0.4406, allocations: 1.701 MB / 466 MB, free: 8.465 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.4406, allocations: 0 / 466 MB, free: 8.465 MB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02361/0.4642, allocations: 5.337 MB / 471.4 MB, free: 3.105 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.804e-05/0.4643, allocations: 67.41 kB / 471.4 MB, free: 3.027 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.983e-05/0.4643, allocations: 7.984 kB / 471.4 MB, free: 3.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03455/0.4989, allocations: 6.841 MB / 478.3 MB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007841/0.4997, allocations: 151.7 kB / 478.4 MB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007169/0.5068, allocations: 3.158 MB / 481.6 MB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001982/0.5088, allocations: 179.8 kB / 481.8 MB, free: 8.637 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001452/0.509, allocations: 47.97 kB / 481.8 MB, free: 8.59 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.0005376/0.5095, allocations: 226.8 kB / 482 MB, free: 8.359 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000193/0.5097, allocations: 86.98 kB / 482.1 MB, free: 8.277 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0223/0.532, allocations: 5.066 MB / 487.2 MB, free: 3.191 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.072e-05/0.532, allocations: 12 kB / 487.2 MB, free: 3.18 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.532, allocations: 0 / 487.2 MB, free: 3.18 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.151e-05/0.532, allocations: 3.984 kB / 487.2 MB, free: 3.176 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001765/0.5338, allocations: 1.118 MB / 488.3 MB, free: 2.023 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.5338, allocations: 0 / 488.3 MB, free: 2.023 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005473/0.5344, allocations: 91.89 kB / 488.4 MB, free: 1.934 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03361/0.568, allocations: 6.799 MB / 495.2 MB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002345/0.5682, allocations: 23.98 kB / 495.2 MB, free: 11.1 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006041/0.5743, allocations: 3.042 MB / 498.3 MB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.5743, allocations: 0.875 kB / 498.3 MB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02479/0.599, allocations: 5.957 MB / 0.4924 GB, free: 2.027 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000315/0.5994, allocations: 148.6 kB / 0.4925 GB, free: 1.863 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001864/0.5995, allocations: 23.92 kB / 0.4926 GB, free: 1.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001387/0.6009, allocations: 163.9 kB / 0.4927 GB, free: 1.68 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002709/0.6012, allocations: 100.9 kB / 0.4928 GB, free: 1.582 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001002/0.6013, allocations: 31.98 kB / 0.4929 GB, free: 1.551 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005319/0.6018, allocations: 354.8 kB / 0.4932 GB, free: 1.203 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.6018, allocations: 0 / 0.4932 GB, free: 1.203 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009251/0.6028, allocations: 256 kB / 0.4934 GB, free: 0.9531 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.02494/0.6277, allocations: 6.527 MB / 0.4998 GB, free: 10.39 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006916/0.6346, allocations: 2.098 MB / 0.5019 GB, free: 8.273 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.6346, allocations: 0 / 0.5019 GB, free: 8.273 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003525/0.6382, allocations: 1.025 MB / 0.5029 GB, free: 7.25 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009808/0.6391, allocations: 132.4 kB / 0.503 GB, free: 7.133 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05635/0.6955, allocations: 15.89 MB / 0.5185 GB, free: 6.941 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005735/0.6961, allocations: 0.9507 MB / 0.5194 GB, free: 5.965 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003696/0.6964, allocations: 60.23 kB / 0.5195 GB, free: 5.91 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003746/0.6968, allocations: 279.3 kB / 0.5198 GB, free: 5.637 MB / 430.1 MB Notification: Performance of SimCode: time 7.32e-07/0.6968, allocations: 0 / 0.5198 GB, free: 5.637 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09405/0.7908, allocations: 29.76 MB / 0.5488 GB, free: 8.129 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.63/14.42, allocations: 4.062 kB / 0.5488 GB, free: 8.125 MB / 462.1 MB " [Timeout remaining time 645] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingNPN_NORGate_fmu --startTime=0 --stopTime=200 --stepSize=0.0396747 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingNPN_NORGate.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.62246751697967]