Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.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.001729/0.001729, allocations: 118.6 kB / 18.5 MB, free: 4.543 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.001842/0.001842, allocations: 202.6 kB / 21.45 MB, free: 1.59 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.548/1.548, allocations: 230.2 MB / 254.5 MB, free: 15.43 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: translateModel(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1010,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock") translateModel(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1010,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 67.89 kB / 373.8 MB, free: 9.984 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.109, allocations: 53.33 MB / 427.1 MB, free: 4.562 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.002825/0.1119, allocations: 1.517 MB / 428.6 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009765/0.1128, allocations: 0.5413 MB / 429.2 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.228e-05/0.1129, allocations: 0 / 429.2 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001201/0.113, allocations: 19.91 kB / 429.2 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.227e-05/0.1131, allocations: 7.875 kB / 429.2 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001782/0.1133, allocations: 39.91 kB / 429.2 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001027/0.1134, allocations: 55.84 kB / 429.3 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.1135, allocations: 15.97 kB / 429.3 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001635/0.1136, allocations: 31.86 kB / 429.3 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.664e-05/0.1137, allocations: 31.91 kB / 429.4 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.1137, allocations: 8 kB / 429.4 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.071e-05/0.1138, allocations: 15.94 kB / 429.4 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.702e-05/0.1138, allocations: 23.91 kB / 429.4 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.567e-05/0.1138, allocations: 19.88 kB / 429.4 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000168/0.114, allocations: 71.72 kB / 429.5 MB, free: 2.156 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.114, allocations: 4 kB / 429.5 MB, free: 2.152 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.114, allocations: 0 / 429.5 MB, free: 2.152 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.114, allocations: 0 / 429.5 MB, free: 2.152 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007221/0.1147, allocations: 391.2 kB / 429.9 MB, free: 1.723 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.1148, allocations: 12.03 kB / 429.9 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.151e-05/0.1148, allocations: 12.89 kB / 429.9 MB, free: 1.699 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001555/0.115, allocations: 164.3 kB / 430.1 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.115, allocations: 8.375 kB / 430.1 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.604e-05/0.115, allocations: 4.375 kB / 430.1 MB, free: 1.488 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002976/0.1153, allocations: 85.95 kB / 430.2 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.1153, allocations: 0 / 430.2 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.1154, allocations: 4 kB / 430.2 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.1154, allocations: 0 / 430.2 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003298/0.1157, allocations: 87.83 kB / 430.3 MB, free: 1.309 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005401/0.1162, allocations: 312.6 kB / 430.6 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000266/0.1165, allocations: 74.56 kB / 430.7 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001683/0.1167, allocations: 48.94 kB / 430.7 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/0.1167, allocations: 0 / 430.7 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.389e-05/0.1167, allocations: 30.56 kB / 430.7 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 8.31e-07/0.1167, allocations: 0 / 430.7 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006199/0.1173, allocations: 153.5 kB / 430.9 MB, free: 0.625 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.794e-05/0.1174, allocations: 51.41 kB / 430.9 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.1175, allocations: 121.7 kB / 431 MB, free: 444 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.1175, allocations: 25.7 kB / 431.1 MB, free: 412 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.674e-05/0.1176, allocations: 100.1 kB / 431.2 MB, free: 308 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.408e-05/0.1176, allocations: 15.83 kB / 431.2 MB, free: 292 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.429e-05/0.1177, allocations: 17.72 kB / 431.2 MB, free: 268 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001821/0.1178, allocations: 318.8 kB / 431.5 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001535/0.118, allocations: 35.95 kB / 431.5 MB, free: 15.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001423/0.1181, allocations: 39.95 kB / 431.6 MB, free: 15.87 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002974/0.1184, allocations: 80.8 kB / 431.7 MB, free: 15.79 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1184, allocations: 0 / 431.7 MB, free: 15.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003551/0.1188, allocations: 117.6 kB / 431.8 MB, free: 15.66 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.1188, allocations: 10.5 kB / 431.8 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.1188, allocations: 0 / 431.8 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/0.1188, allocations: 3.938 kB / 431.8 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.119, allocations: 16.42 kB / 431.8 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.119, allocations: 0 / 431.8 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.233e-05/0.1191, allocations: 11.98 kB / 431.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/0.1191, allocations: 11.98 kB / 431.8 MB, free: 15.61 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001071/0.1192, allocations: 113.8 kB / 431.9 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.563e-05/0.1192, allocations: 8 kB / 432 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004184/0.1196, allocations: 133.5 kB / 432.1 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.103e-06/0.1196, allocations: 0 / 432.1 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.1196, allocations: 3.984 kB / 432.1 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.1196, allocations: 3.938 kB / 432.1 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002214/0.1199, allocations: 189.9 kB / 432.3 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1199, allocations: 4 kB / 432.3 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001178/0.12, allocations: 27.97 kB / 432.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.12, allocations: 0 / 432.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.12, allocations: 3.938 kB / 432.3 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.12, allocations: 0 / 432.3 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.12, allocations: 0 / 432.3 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004203/0.1204, allocations: 219.4 kB / 432.5 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.314e-05/0.1205, allocations: 85.05 kB / 432.6 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.725e-05/0.1205, allocations: 4 kB / 432.6 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.1206, allocations: 11.98 kB / 432.6 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.753e-05/0.1206, allocations: 11.92 kB / 432.6 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.1206, allocations: 3.938 kB / 432.6 MB, free: 14.7 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.134e-05/0.1207, allocations: 87.28 kB / 432.7 MB, free: 14.61 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1207, allocations: 4 kB / 432.7 MB, free: 14.61 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002248/0.1209, allocations: 19.88 kB / 432.8 MB, free: 14.59 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001422/0.1211, allocations: 107.2 kB / 432.9 MB, free: 14.48 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003769/0.1214, allocations: 79.92 kB / 432.9 MB, free: 14.4 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.1214, allocations: 4 kB / 432.9 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001671/0.1216, allocations: 47.89 kB / 433 MB, free: 14.35 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003082/0.1219, allocations: 8 kB / 433 MB, free: 14.34 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003788/0.1223, allocations: 154 kB / 433.1 MB, free: 14.16 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003674/0.1227, allocations: 0.6924 MB / 433.8 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.21e-05/0.1227, allocations: 0 / 433.8 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.744e-05/0.1227, allocations: 11.44 kB / 433.8 MB, free: 13.43 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1227, allocations: 0 / 433.8 MB, free: 13.43 MB / 366.1 MB Notification: Performance of Templates: time 0.003737/0.1265, allocations: 0.9239 MB / 434.8 MB, free: 12.51 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & ./Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/ComplexBlocks/Examples/TestConversionBlock/TestConversionBlock.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.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: 4.873646178282797]