Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001454/0.001454, allocations: 73.33 kB / 21.24 MB, free: 0.5547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001455/0.001455, allocations: 158.2 kB / 24.5 MB, free: 3.715 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.447/1.447, allocations: 177.2 MB / 204.9 MB, free: 8.988 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1010,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock") translateModel(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1010,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001733/0.001733, allocations: 50.72 kB / 325.5 MB, free: 280 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09899/0.1007, allocations: 53.34 MB / 378.9 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.002823/0.1035, allocations: 1.51 MB / 380.4 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000954/0.1045, allocations: 0.4908 MB / 380.9 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.481e-05/0.1045, allocations: 0 / 380.9 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001123/0.1047, allocations: 19.92 kB / 380.9 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.037e-05/0.1047, allocations: 7.875 kB / 380.9 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001943/0.1049, allocations: 43.91 kB / 380.9 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.407e-05/0.105, allocations: 59.77 kB / 381 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.962e-05/0.1051, allocations: 19.98 kB / 381 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001687/0.1053, allocations: 31.86 kB / 381.1 MB, free: 13.49 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.065e-05/0.1053, allocations: 35.83 kB / 381.1 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.505e-05/0.1054, allocations: 4 kB / 381.1 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.507e-05/0.1054, allocations: 12 kB / 381.1 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.783e-05/0.1054, allocations: 15.94 kB / 381.1 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.492e-05/0.1055, allocations: 19.86 kB / 381.1 MB, free: 13.4 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001531/0.1056, allocations: 75.72 kB / 381.2 MB, free: 13.33 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1056, allocations: 0 / 381.2 MB, free: 13.33 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1056, allocations: 0 / 381.2 MB, free: 13.33 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.1056, allocations: 4 kB / 381.2 MB, free: 13.32 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.0006241/0.1063, allocations: 310.1 kB / 381.5 MB, free: 12.99 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.1063, allocations: 8.031 kB / 381.5 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.839e-05/0.1063, allocations: 8.891 kB / 381.5 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001118/0.1064, allocations: 114.4 kB / 381.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/0.1065, allocations: 8.359 kB / 381.7 MB, free: 12.83 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.016e-05/0.1065, allocations: 384 / 381.7 MB, free: 12.83 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002889/0.1068, allocations: 93.94 kB / 381.7 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.1068, allocations: 0 / 381.7 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.1068, allocations: 8 kB / 381.8 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.1068, allocations: 0 / 381.8 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003357/0.1071, allocations: 79.86 kB / 381.8 MB, free: 12.65 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004121/0.1075, allocations: 244.4 kB / 382.1 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000271/0.1078, allocations: 78.56 kB / 382.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001657/0.108, allocations: 40.95 kB / 382.2 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.805e-05/0.108, allocations: 0 / 382.2 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/0.108, allocations: 34.55 kB / 382.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.011e-06/0.108, allocations: 4 kB / 382.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005819/0.1086, allocations: 145.5 kB / 382.4 MB, free: 12.05 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.487e-05/0.1087, allocations: 63.39 kB / 382.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.633e-05/0.1088, allocations: 113.7 kB / 382.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.1088, allocations: 29.64 kB / 382.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.739e-05/0.1088, allocations: 92.09 kB / 382.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.786e-05/0.1089, allocations: 19.84 kB / 382.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.172e-05/0.1089, allocations: 17.7 kB / 382.7 MB, free: 11.69 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.109, allocations: 318.8 kB / 383 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001625/0.1092, allocations: 39.95 kB / 383 MB, free: 11.33 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001507/0.1094, allocations: 35.97 kB / 383.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003055/0.1097, allocations: 80.78 kB / 383.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.1097, allocations: 0 / 383.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003618/0.11, allocations: 113.6 kB / 383.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.1101, allocations: 11.98 kB / 383.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.1101, allocations: 0 / 383.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.1101, allocations: 0 / 383.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.1102, allocations: 19.92 kB / 383.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.688e-06/0.1102, allocations: 0 / 383.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.115e-05/0.1103, allocations: 19.98 kB / 383.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.1103, allocations: 0 / 383.3 MB, free: 11.04 MB / 350.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.173e-05/0.1104, allocations: 121.8 kB / 383.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.105e-05/0.1104, allocations: 4 kB / 383.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004209/0.1109, allocations: 125.7 kB / 383.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.1109, allocations: 4 kB / 383.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.1109, allocations: 448 / 383.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.1109, allocations: 4 kB / 383.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001742/0.111, allocations: 133.2 kB / 383.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.111, allocations: 4 kB / 383.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001223/0.1112, allocations: 19.98 kB / 383.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.1112, allocations: 0 / 383.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.1112, allocations: 0 / 383.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.032e-06/0.1112, allocations: 7.984 kB / 383.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1112, allocations: 0 / 383.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004272/0.1116, allocations: 219.4 kB / 384 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.443e-05/0.1116, allocations: 7.938 kB / 384 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.537e-05/0.1116, allocations: 3.984 kB / 384 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.1118, allocations: 11.98 kB / 384 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.063e-05/0.1118, allocations: 12.36 kB / 384 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.119e-06/0.1118, allocations: 0 / 384 MB, free: 10.31 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.704e-05/0.1119, allocations: 99.09 kB / 384.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1119, allocations: 0 / 384.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000232/0.1121, allocations: 12 kB / 384.1 MB, free: 10.2 MB / 350.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.0001298/0.1122, allocations: 103.2 kB / 384.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003998/0.1126, allocations: 80.08 kB / 384.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1126, allocations: 0 / 384.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001833/0.1128, allocations: 59.88 kB / 384.3 MB, free: 9.957 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003009/0.1131, allocations: 7.938 kB / 384.3 MB, free: 9.949 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003674/0.1135, allocations: 166.1 kB / 384.5 MB, free: 9.762 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.253e-05/0.1135, allocations: 71.33 kB / 384.6 MB, free: 9.672 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.05e-05/0.1136, allocations: 4 kB / 384.6 MB, free: 9.668 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.489e-05/0.1136, allocations: 12.5 kB / 384.6 MB, free: 9.656 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1136, allocations: 0 / 384.6 MB, free: 9.656 MB / 350.1 MB Notification: Performance of Templates: time 0.003588/0.1172, allocations: 0.9643 MB / 385.6 MB, free: 8.703 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & ./Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.205315922969021]