Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001954/0.001954, allocations: 112.2 kB / 17.12 MB, free: 5.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002165/0.002165, allocations: 192.6 kB / 20.08 MB, free: 3 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.471/1.471, allocations: 207.6 MB / 230.5 MB, free: 4.035 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3261/0.3261, allocations: 44.23 MB / 326.5 MB, free: 6.809 MB / 254.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_ConversionBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_ConversionBlocks",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "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.002175/0.002175, allocations: 67.89 kB / 462.2 MB, free: 0.9141 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2672/0.2693, allocations: 61 MB / 0.5109 GB, free: 13.17 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003058/0.2724, allocations: 2.103 MB / 0.513 GB, free: 11.53 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001722/0.2741, allocations: 1.321 MB / 0.5143 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.287e-05/0.2742, allocations: 8.156 kB / 0.5143 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.304e-05/0.2743, allocations: 27.66 kB / 0.5143 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001252/0.2744, allocations: 39.78 kB / 0.5143 GB, free: 10.42 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004405/0.2748, allocations: 179 kB / 0.5145 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001804/0.275, allocations: 184.3 kB / 0.5147 GB, free: 10.17 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001781/0.2752, allocations: 83.98 kB / 0.5148 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001198/0.2753, allocations: 69.28 kB / 0.5148 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.293e-05/0.2754, allocations: 96.12 kB / 0.5149 GB, free: 9.996 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.869e-05/0.2754, allocations: 15.47 kB / 0.5149 GB, free: 9.996 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002647/0.2757, allocations: 152.9 kB / 0.5151 GB, free: 9.926 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.716e-05/0.2757, allocations: 39.06 kB / 0.5151 GB, free: 9.895 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.728e-05/0.2758, allocations: 96.36 kB / 0.5152 GB, free: 9.824 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003232/0.2761, allocations: 306.9 kB / 0.5155 GB, free: 9.633 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.2761, allocations: 0 / 0.5155 GB, free: 9.633 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2761, allocations: 4 kB / 0.5155 GB, free: 9.629 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.098e-05/0.2761, allocations: 1.375 kB / 0.5155 GB, free: 9.629 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.000468/0.2766, allocations: 0.5255 MB / 0.516 GB, free: 9.125 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.2766, allocations: 13.48 kB / 0.516 GB, free: 9.121 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.219e-05/0.2767, allocations: 90.16 kB / 0.5161 GB, free: 9.035 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008933/0.2776, allocations: 72.7 kB / 0.5162 GB, free: 9.008 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/0.2777, allocations: 194.9 kB / 0.5164 GB, free: 8.785 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.817e-05/0.2777, allocations: 25.41 kB / 0.5164 GB, free: 8.773 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.918e-05/0.2778, allocations: 29 kB / 0.5164 GB, free: 8.766 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003735/0.2781, allocations: 234.3 kB / 0.5167 GB, free: 8.625 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.2781, allocations: 0 / 0.5167 GB, free: 8.625 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.298e-05/0.2782, allocations: 10.62 kB / 0.5167 GB, free: 8.617 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.248e-06/0.2782, allocations: 11.86 kB / 0.5167 GB, free: 8.613 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003109/0.2785, allocations: 165.7 kB / 0.5168 GB, free: 8.539 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00083/0.2793, allocations: 0.6441 MB / 0.5175 GB, free: 8.004 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005334/0.2799, allocations: 218.8 kB / 0.5177 GB, free: 7.906 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001179/0.28, allocations: 64.11 kB / 0.5177 GB, free: 7.844 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.39e-05/0.28, allocations: 4.234 kB / 0.5177 GB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.474e-05/0.28, allocations: 34.8 kB / 0.5178 GB, free: 7.797 MB / 382.1 MB Notification: Performance of pre-optimization done (n=27): time 1.282e-06/0.28, allocations: 0 / 0.5178 GB, free: 7.797 MB / 382.1 MB Notification: Performance of matching and sorting (n=27): time 0.0004308/0.2804, allocations: 224.2 kB / 0.518 GB, free: 7.574 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.288e-05/0.2805, allocations: 63.34 kB / 0.518 GB, free: 7.5 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.136e-05/0.2805, allocations: 105.8 kB / 0.5181 GB, free: 7.387 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.2805, allocations: 29.7 kB / 0.5182 GB, free: 7.352 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.712e-05/0.2806, allocations: 152.6 kB / 0.5183 GB, free: 7.199 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.519e-05/0.2806, allocations: 95.16 kB / 0.5184 GB, free: 7.105 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.669e-05/0.2807, allocations: 41.7 kB / 0.5184 GB, free: 7.059 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.708e-05/0.2807, allocations: 318.8 kB / 0.5188 GB, free: 6.738 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.663e-05/0.2808, allocations: 51.92 kB / 0.5188 GB, free: 6.688 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.312e-05/0.2809, allocations: 43.97 kB / 0.5188 GB, free: 6.645 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00016/0.281, allocations: 118.2 kB / 0.519 GB, free: 6.527 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.281, allocations: 0 / 0.519 GB, free: 6.527 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002143/0.2813, allocations: 169.5 kB / 0.5191 GB, free: 6.355 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.2813, allocations: 4 kB / 0.5191 GB, free: 6.352 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.2813, allocations: 7.984 kB / 0.5191 GB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.2813, allocations: 0 / 0.5191 GB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003158/0.2816, allocations: 104.1 kB / 0.5192 GB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.2816, allocations: 3.938 kB / 0.5192 GB, free: 6.238 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.189e-05/0.2817, allocations: 23.88 kB / 0.5193 GB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.2817, allocations: 4 kB / 0.5193 GB, free: 6.211 MB / 382.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 (27): * Single equations (assignments): 27 * 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 6.954e-05/0.2818, allocations: 125.8 kB / 0.5194 GB, free: 6.078 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.198e-05/0.2818, allocations: 11.95 kB / 0.5194 GB, free: 6.066 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.143e-05/0.2818, allocations: 25.12 kB / 0.5194 GB, free: 6.035 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.2818, allocations: 3.938 kB / 0.5194 GB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.2819, allocations: 0 / 0.5194 GB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.2819, allocations: 4 kB / 0.5194 GB, free: 6.027 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002063/0.2821, allocations: 281.4 kB / 0.5197 GB, free: 5.703 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.2821, allocations: 0 / 0.5197 GB, free: 5.703 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003049/0.2824, allocations: 107.9 kB / 0.5198 GB, free: 5.598 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.2824, allocations: 0 / 0.5198 GB, free: 5.598 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.2824, allocations: 4 kB / 0.5198 GB, free: 5.594 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.2824, allocations: 7.938 kB / 0.5198 GB, free: 5.586 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2824, allocations: 0 / 0.5198 GB, free: 5.586 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000227/0.2826, allocations: 271.3 kB / 0.5201 GB, free: 5.305 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.124e-05/0.2826, allocations: 89 kB / 0.5201 GB, free: 5.199 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.912e-05/0.2827, allocations: 8 kB / 0.5202 GB, free: 5.191 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.513e-05/0.2827, allocations: 7.938 kB / 0.5202 GB, free: 5.184 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.754e-05/0.2828, allocations: 19.97 kB / 0.5202 GB, free: 5.164 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.2828, allocations: 7.938 kB / 0.5202 GB, free: 5.156 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.063e-05/0.2828, allocations: 83.28 kB / 0.5203 GB, free: 5.074 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2828, allocations: 0 / 0.5203 GB, free: 5.074 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000262/0.2831, allocations: 59.78 kB / 0.5203 GB, free: 5.016 MB / 382.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 (27): * Single equations (assignments): 27 * 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.0004795/0.2836, allocations: 0.8808 MB / 0.5212 GB, free: 4.109 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002187/0.2838, allocations: 127.9 kB / 0.5213 GB, free: 3.984 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.2838, allocations: 0 / 0.5213 GB, free: 3.984 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.135e-05/0.2839, allocations: 75.83 kB / 0.5214 GB, free: 3.91 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002225/0.2841, allocations: 15.94 kB / 0.5214 GB, free: 3.895 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001501/0.2856, allocations: 1.967 MB / 0.5233 GB, free: 1.848 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00013/0.2857, allocations: 0.7436 MB / 0.524 GB, free: 1.078 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.28e-05/0.2858, allocations: 21.41 kB / 0.5241 GB, free: 1.059 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.212e-05/0.2859, allocations: 63.42 kB / 0.5241 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of SimCode: time 4.4e-07/0.2859, allocations: 0 / 0.5241 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02265/0.3085, allocations: 2.766 MB / 0.5268 GB, free: 14.22 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.428/8.737, allocations: 5.469 kB / 0.5268 GB, free: 14.21 MB / 398.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Blocks_ConversionBlocks_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Blocks_ConversionBlocks.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/ConversionBlocks/ConversionBlocks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.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: 11.569347074255347]