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.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.001427/0.001427, allocations: 105 kB / 20.48 MB, free: 1.469 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.001578/0.001578, allocations: 212 kB / 23.79 MB, free: 4.68 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.574/1.574, allocations: 207.6 MB / 234.6 MB, free: 10 MB / 190.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.2571/0.2571, allocations: 44.24 MB / 331.1 MB, free: 9.516 MB / 270.1 MB " [Timeout remaining time 179] 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.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: "" <> buildModelFMU(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_ConversionBlocks",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_ConversionBlocks",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002214/0.002214, allocations: 70.55 kB / 468.3 MB, free: 4.488 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1241, allocations: 61.04 MB / 0.5169 GB, free: 7.309 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003771/0.1278, allocations: 2.126 MB / 0.519 GB, free: 5.164 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002231/0.1301, allocations: 1.329 MB / 0.5203 GB, free: 3.824 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.843e-05/0.1301, allocations: 4 kB / 0.5203 GB, free: 3.82 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 7.457e-05/0.1302, allocations: 23.67 kB / 0.5203 GB, free: 3.797 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001209/0.1303, allocations: 35.7 kB / 0.5204 GB, free: 3.762 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005483/0.1309, allocations: 195.2 kB / 0.5206 GB, free: 3.57 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002208/0.1311, allocations: 176.1 kB / 0.5207 GB, free: 3.395 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002065/0.1313, allocations: 88.34 kB / 0.5208 GB, free: 3.309 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001353/0.1314, allocations: 75.66 kB / 0.5209 GB, free: 3.234 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001203/0.1316, allocations: 95.53 kB / 0.521 GB, free: 3.141 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.571e-05/0.1316, allocations: 16 kB / 0.521 GB, free: 3.125 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002976/0.1319, allocations: 155.9 kB / 0.5211 GB, free: 2.973 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.206e-05/0.1319, allocations: 39.78 kB / 0.5212 GB, free: 2.934 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001602/0.1321, allocations: 95.47 kB / 0.5213 GB, free: 2.84 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004649/0.1326, allocations: 310.6 kB / 0.5216 GB, free: 2.535 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.094e-06/0.1326, allocations: 4 kB / 0.5216 GB, free: 2.531 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1326, allocations: 0 / 0.5216 GB, free: 2.531 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.1326, allocations: 0 / 0.5216 GB, free: 2.531 MB / 398.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.0007449/0.1333, allocations: 461.5 kB / 0.522 GB, free: 2.051 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.1334, allocations: 12.03 kB / 0.522 GB, free: 2.039 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.327e-05/0.1334, allocations: 20.78 kB / 0.522 GB, free: 2.02 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000117/0.1335, allocations: 95.59 kB / 0.5221 GB, free: 1.918 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00089/0.1344, allocations: 76.7 kB / 0.5222 GB, free: 1.844 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.1346, allocations: 134.2 kB / 0.5223 GB, free: 1.688 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.318e-05/0.1346, allocations: 33.38 kB / 0.5224 GB, free: 1.656 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.587e-05/0.1347, allocations: 40.38 kB / 0.5224 GB, free: 1.617 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004911/0.1352, allocations: 274.4 kB / 0.5227 GB, free: 1.344 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.413e-05/0.1352, allocations: 7.938 kB / 0.5227 GB, free: 1.336 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.043e-05/0.1352, allocations: 16 kB / 0.5227 GB, free: 1.32 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.1352, allocations: 8 kB / 0.5227 GB, free: 1.312 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003859/0.1356, allocations: 199.9 kB / 0.5229 GB, free: 1.113 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001308/0.1369, allocations: 0.6814 MB / 0.5235 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007357/0.1377, allocations: 333.3 kB / 0.5239 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003179/0.138, allocations: 142.6 kB / 0.524 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.773e-05/0.138, allocations: 4.438 kB / 0.524 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.447e-05/0.138, allocations: 39 kB / 0.524 GB, free: 15.86 MB / 414.1 MB Notification: Performance of pre-optimization done (n=53): time 2.063e-06/0.138, allocations: 0 / 0.524 GB, free: 15.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=67): time 0.00178/0.1398, allocations: 0.763 MB / 0.5248 GB, free: 15.09 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.777e-05/0.1399, allocations: 60 kB / 0.5248 GB, free: 15.02 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.292e-05/0.14, allocations: 109.8 kB / 0.5249 GB, free: 14.91 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.451e-05/0.14, allocations: 37.7 kB / 0.525 GB, free: 14.86 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.546e-05/0.1401, allocations: 133.7 kB / 0.5251 GB, free: 14.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001794/0.1403, allocations: 234 kB / 0.5253 GB, free: 14.5 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001156/0.1404, allocations: 82.34 kB / 0.5254 GB, free: 14.41 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.1405, allocations: 334.8 kB / 0.5257 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002161/0.1408, allocations: 105.2 kB / 0.5258 GB, free: 13.97 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002446/0.141, allocations: 152.8 kB / 0.526 GB, free: 13.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004638/0.1415, allocations: 285.8 kB / 0.5262 GB, free: 13.54 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.1415, allocations: 0 / 0.5262 GB, free: 13.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0005906/0.1421, allocations: 369.3 kB / 0.5266 GB, free: 13.17 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.1421, allocations: 8 kB / 0.5266 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.1421, allocations: 0 / 0.5266 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.1421, allocations: 7.938 kB / 0.5266 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006265/0.1427, allocations: 187.8 kB / 0.5268 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.1427, allocations: 4 kB / 0.5268 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001004/0.1428, allocations: 15.98 kB / 0.5268 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.473e-05/0.1429, allocations: 16 kB / 0.5268 GB, free: 12.93 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (67): * Single equations (assignments): 67 * 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.0001526/0.143, allocations: 141.8 kB / 0.527 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.668e-05/0.1431, allocations: 31.81 kB / 0.527 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002059/0.1433, allocations: 41.98 kB / 0.527 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.685e-06/0.1433, allocations: 12 kB / 0.527 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.1433, allocations: 0 / 0.527 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.101e-05/0.1433, allocations: 7.922 kB / 0.5271 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001814/0.1451, allocations: 0.9234 MB / 0.528 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.1451, allocations: 0 / 0.528 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006104/0.1457, allocations: 175.8 kB / 0.5281 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.533e-06/0.1457, allocations: 4 kB / 0.5281 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.028e-05/0.1458, allocations: 8.25 kB / 0.5281 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.803e-06/0.1458, allocations: 8 kB / 0.5281 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1458, allocations: 4 kB / 0.5281 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006686/0.1464, allocations: 482.2 kB / 0.5286 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.391e-05/0.1465, allocations: 27.8 kB / 0.5286 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.994e-05/0.1465, allocations: 8 kB / 0.5286 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001248/0.1466, allocations: 16 kB / 0.5287 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.71e-05/0.1467, allocations: 36.58 kB / 0.5287 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.182e-05/0.1467, allocations: 23.94 kB / 0.5287 GB, free: 10.93 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002058/0.1469, allocations: 87.27 kB / 0.5288 GB, free: 10.84 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1469, allocations: 0 / 0.5288 GB, free: 10.84 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003199/0.1472, allocations: 68 kB / 0.5289 GB, free: 10.78 MB / 414.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 (67): * Single equations (assignments): 67 * 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.001283/0.1485, allocations: 1.18 MB / 0.53 GB, free: 9.57 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005745/0.1491, allocations: 305.5 kB / 0.5303 GB, free: 9.27 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.1491, allocations: 0 / 0.5303 GB, free: 9.27 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002748/0.1494, allocations: 167.7 kB / 0.5305 GB, free: 9.105 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000267/0.1496, allocations: 24 kB / 0.5305 GB, free: 9.082 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003569/0.1532, allocations: 2.698 MB / 0.5331 GB, free: 6.301 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004293/0.1536, allocations: 0.7771 MB / 0.5339 GB, free: 5.496 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001347/0.1538, allocations: 44.25 kB / 0.5339 GB, free: 5.453 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001543/0.1539, allocations: 95.41 kB / 0.534 GB, free: 5.359 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1539, allocations: 0 / 0.534 GB, free: 5.359 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02653/0.1804, allocations: 5.267 MB / 0.5392 GB, free: 88 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/12, allocations: 4 kB / 0.5392 GB, free: 84 kB / 414.1 MB " [Timeout remaining time 648] (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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/ConversionBlocks/ConversionBlocks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 15.746175815002061]