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.00154/0.00154, allocations: 114.7 kB / 19.18 MB, free: 3.926 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.001618/0.001618, allocations: 210.6 kB / 22.13 MB, free: 0.9805 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.465/1.465, allocations: 230.2 MB / 255.1 MB, free: 15.25 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.002079/0.002079, allocations: 63.89 kB / 374.5 MB, free: 9.949 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1075, allocations: 53.32 MB / 427.8 MB, free: 4.531 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.00298/0.1104, allocations: 1.523 MB / 429.3 MB, free: 3.004 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001047/0.1115, allocations: 0.5414 MB / 429.9 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.328e-05/0.1115, allocations: 4 kB / 429.9 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001146/0.1117, allocations: 15.86 kB / 429.9 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.704e-05/0.1117, allocations: 7.938 kB / 429.9 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000192/0.1119, allocations: 39.91 kB / 429.9 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001109/0.112, allocations: 55.83 kB / 430 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.916e-05/0.1121, allocations: 15.94 kB / 430 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000203/0.1123, allocations: 35.91 kB / 430 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.2e-05/0.1124, allocations: 27.89 kB / 430.1 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.1124, allocations: 8 kB / 430.1 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.203e-05/0.1125, allocations: 19.94 kB / 430.1 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.089e-05/0.1125, allocations: 15.94 kB / 430.1 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.998e-05/0.1125, allocations: 23.86 kB / 430.1 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001774/0.1127, allocations: 71.72 kB / 430.2 MB, free: 2.121 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.1127, allocations: 0 / 430.2 MB, free: 2.121 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1127, allocations: 0 / 430.2 MB, free: 2.121 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.664e-06/0.1127, allocations: 0 / 430.2 MB, free: 2.121 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.0006735/0.1134, allocations: 393.9 kB / 430.6 MB, free: 1.691 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.1135, allocations: 12.03 kB / 430.6 MB, free: 1.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.583e-05/0.1135, allocations: 8.891 kB / 430.6 MB, free: 1.672 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001522/0.1136, allocations: 172.4 kB / 430.8 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.1137, allocations: 4.375 kB / 430.8 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.302e-05/0.1137, allocations: 384 / 430.8 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002829/0.114, allocations: 93.83 kB / 430.9 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.114, allocations: 4 kB / 430.9 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.114, allocations: 8 kB / 430.9 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.114, allocations: 4 kB / 430.9 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003096/0.1143, allocations: 75.92 kB / 431 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004734/0.1148, allocations: 316.6 kB / 431.3 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002373/0.115, allocations: 70.53 kB / 431.3 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000147/0.1152, allocations: 40.95 kB / 431.4 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.781e-05/0.1152, allocations: 4 kB / 431.4 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.1152, allocations: 30.56 kB / 431.4 MB, free: 0.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.1152, allocations: 0 / 431.4 MB, free: 0.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005557/0.1158, allocations: 161.5 kB / 431.6 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.1158, allocations: 51.41 kB / 431.6 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.694e-05/0.1159, allocations: 113.8 kB / 431.7 MB, free: 412 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.1159, allocations: 25.7 kB / 431.8 MB, free: 380 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.458e-05/0.116, allocations: 96.08 kB / 431.8 MB, free: 280 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.987e-05/0.116, allocations: 23.84 kB / 431.9 MB, free: 256 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.143e-05/0.116, allocations: 17.7 kB / 431.9 MB, free: 232 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.1162, allocations: 318.8 kB / 432.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001472/0.1163, allocations: 35.95 kB / 432.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001328/0.1165, allocations: 35.97 kB / 432.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000267/0.1167, allocations: 80.78 kB / 432.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1167, allocations: 0 / 432.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003301/0.1171, allocations: 117.5 kB / 432.5 MB, free: 15.63 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.1171, allocations: 8 kB / 432.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.1171, allocations: 0 / 432.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.1171, allocations: 4 kB / 432.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.1172, allocations: 20.34 kB / 432.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.1172, allocations: 0 / 432.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.619e-05/0.1173, allocations: 11.98 kB / 432.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.1173, allocations: 4.438 kB / 432.5 MB, free: 15.59 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 9.022e-05/0.1174, allocations: 117.7 kB / 432.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.026e-05/0.1175, allocations: 7.984 kB / 432.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003807/0.1178, allocations: 133.5 kB / 432.8 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.1178, allocations: 4 kB / 432.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.1178, allocations: 0 / 432.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.1179, allocations: 4 kB / 432.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002075/0.1181, allocations: 197.5 kB / 433 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.1181, allocations: 0 / 433 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/0.1182, allocations: 23.98 kB / 433 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.1182, allocations: 0 / 433 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.1182, allocations: 4 kB / 433 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1182, allocations: 0 / 433 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1182, allocations: 0 / 433 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003782/0.1186, allocations: 227.4 kB / 433.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.684e-05/0.1186, allocations: 85.06 kB / 433.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/0.1186, allocations: 3.938 kB / 433.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.1187, allocations: 15.97 kB / 433.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.437e-05/0.1188, allocations: 4 kB / 433.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.1188, allocations: 4 kB / 433.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.883e-05/0.1188, allocations: 87.27 kB / 433.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1188, allocations: 0 / 433.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002309/0.1191, allocations: 19.88 kB / 433.4 MB, free: 14.56 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.0001448/0.1192, allocations: 99.25 kB / 433.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003673/0.1196, allocations: 87.84 kB / 433.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.1196, allocations: 4 kB / 433.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001609/0.1197, allocations: 43.97 kB / 433.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003065/0.1201, allocations: 11.98 kB / 433.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004093/0.1205, allocations: 183.7 kB / 433.8 MB, free: 14.1 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003032/0.1208, allocations: 0.6846 MB / 434.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.063e-05/0.1208, allocations: 11.72 kB / 434.5 MB, free: 13.38 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1208, allocations: 4 kB / 434.5 MB, free: 13.37 MB / 366.1 MB Notification: Performance of Templates: time 0.002734/0.1235, allocations: 0.97 MB / 435.5 MB, free: 12.4 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/ComplexBlocks/Examples/TestConversionBlock/TestConversionBlock.csv","/var/lib/jenkins1/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: 6.535880476003513]