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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 104.7 kB / 16.27 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 193.4 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.657/1.657, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2169/0.2169, allocations: 43.52 MB / 313.9 MB, free: 0.5156 MB / 254.1 MB 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.001989/0.001989, allocations: 63.78 kB / 382.8 MB, free: 56.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1256, allocations: 57.78 MB / 440.6 MB, free: 6.805 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.00345/0.1291, allocations: 2.09 MB / 442.7 MB, free: 4.695 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001874/0.131, allocations: 1.298 MB / 444 MB, free: 3.387 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001601/0.1311, allocations: 4 kB / 444 MB, free: 3.383 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 6.896e-05/0.1312, allocations: 31.59 kB / 444 MB, free: 3.352 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001253/0.1314, allocations: 31.72 kB / 444.1 MB, free: 3.32 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005656/0.132, allocations: 191.3 kB / 444.3 MB, free: 3.133 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001423/0.1321, allocations: 168.2 kB / 444.4 MB, free: 2.965 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002051/0.1323, allocations: 107.8 kB / 444.5 MB, free: 2.859 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001181/0.1325, allocations: 79.58 kB / 444.6 MB, free: 2.781 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.216e-05/0.1326, allocations: 87.55 kB / 444.7 MB, free: 2.695 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.432e-05/0.1326, allocations: 16 kB / 444.7 MB, free: 2.68 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002626/0.1329, allocations: 159.9 kB / 444.9 MB, free: 2.523 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.802e-05/0.1329, allocations: 39.83 kB / 444.9 MB, free: 2.484 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.217e-05/0.133, allocations: 87.48 kB / 445 MB, free: 2.398 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002906/0.1333, allocations: 291.1 kB / 445.3 MB, free: 2.113 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.1333, allocations: 4 kB / 445.3 MB, free: 2.109 MB / 318.1 MB Notification: Performance of FrontEnd: time 8.51e-07/0.1333, allocations: 4 kB / 445.3 MB, free: 2.105 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.1333, allocations: 0 / 445.3 MB, free: 2.105 MB / 318.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.0004889/0.1338, allocations: 0.5265 MB / 445.8 MB, free: 1.531 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.1338, allocations: 11.89 kB / 445.8 MB, free: 1.52 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.942e-05/0.1339, allocations: 87.08 kB / 445.9 MB, free: 1.426 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008187/0.1348, allocations: 72.61 kB / 446 MB, free: 1.355 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.778e-05/0.1349, allocations: 184.1 kB / 446.1 MB, free: 1.137 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.1349, allocations: 29.03 kB / 446.2 MB, free: 1.109 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.737e-05/0.1349, allocations: 32.31 kB / 446.2 MB, free: 1.078 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003091/0.1352, allocations: 238.2 kB / 446.4 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.1353, allocations: 0 / 446.4 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.889e-05/0.1353, allocations: 8 kB / 446.4 MB, free: 0.832 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.1353, allocations: 8 kB / 446.5 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002402/0.1355, allocations: 166.5 kB / 446.6 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007512/0.1363, allocations: 0.667 MB / 447.3 MB, free: 15.94 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000499/0.1368, allocations: 233.8 kB / 447.5 MB, free: 15.71 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001303/0.137, allocations: 73.3 kB / 447.6 MB, free: 15.63 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.137, allocations: 4.172 kB / 447.6 MB, free: 15.63 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/0.137, allocations: 34.8 kB / 447.6 MB, free: 15.59 MB / 334.1 MB Notification: Performance of pre-optimization done (n=27): time 1.153e-06/0.137, allocations: 0 / 447.6 MB, free: 15.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=27): time 0.0004547/0.1375, allocations: 218.4 kB / 447.8 MB, free: 15.37 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.626e-05/0.1375, allocations: 55.34 kB / 447.9 MB, free: 15.3 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.713e-05/0.1376, allocations: 105.8 kB / 448 MB, free: 15.19 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.989e-05/0.1376, allocations: 33.7 kB / 448 MB, free: 15.15 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.483e-05/0.1377, allocations: 152.3 kB / 448.2 MB, free: 15 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.552e-05/0.1378, allocations: 90.66 kB / 448.3 MB, free: 14.91 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.019e-05/0.1378, allocations: 33.72 kB / 448.3 MB, free: 14.87 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.138, allocations: 322.8 kB / 448.6 MB, free: 14.54 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.598e-05/0.1381, allocations: 43.97 kB / 448.7 MB, free: 14.5 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.357e-05/0.1382, allocations: 51.84 kB / 448.7 MB, free: 14.45 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001946/0.1384, allocations: 122.2 kB / 448.8 MB, free: 14.33 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.1384, allocations: 0 / 448.8 MB, free: 14.33 MB / 334.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002552/0.1386, allocations: 161.5 kB / 449 MB, free: 14.16 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.1387, allocations: 8.938 kB / 449 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.1387, allocations: 0 / 449 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.1387, allocations: 256 / 449 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003499/0.139, allocations: 111.8 kB / 449.1 MB, free: 14.05 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.1391, allocations: 4 kB / 449.1 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.56e-05/0.1391, allocations: 15.84 kB / 449.1 MB, free: 14.03 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.1391, allocations: 8 kB / 449.1 MB, free: 14.02 MB / 334.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 9.758e-05/0.1393, allocations: 133.7 kB / 449.3 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.502e-05/0.1393, allocations: 15.81 kB / 449.3 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.994e-05/0.1393, allocations: 21.12 kB / 449.3 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.1394, allocations: 7.938 kB / 449.3 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1394, allocations: 4 kB / 449.3 MB, free: 13.83 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.1394, allocations: 0 / 449.3 MB, free: 13.83 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000294/0.1397, allocations: 285.4 kB / 449.6 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.1397, allocations: 0 / 449.6 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003385/0.14, allocations: 103.9 kB / 449.7 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.14, allocations: 3.938 kB / 449.7 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.502e-05/0.1401, allocations: 8 kB / 449.7 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.1401, allocations: 7.938 kB / 449.7 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1401, allocations: 0 / 449.7 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002928/0.1404, allocations: 267.4 kB / 450 MB, free: 13.11 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.19e-05/0.1404, allocations: 88.95 kB / 450.1 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.123e-05/0.1405, allocations: 4 kB / 450.1 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.119e-05/0.1405, allocations: 11.94 kB / 450.1 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.344e-05/0.1406, allocations: 11.97 kB / 450.1 MB, free: 12.97 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.1406, allocations: 16 kB / 450.1 MB, free: 12.96 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.596e-05/0.1407, allocations: 79.28 kB / 450.2 MB, free: 12.88 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1407, allocations: 0 / 450.2 MB, free: 12.88 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002789/0.1409, allocations: 55.69 kB / 450.2 MB, free: 12.82 MB / 334.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.0007567/0.1417, allocations: 0.8805 MB / 451.1 MB, free: 11.92 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003071/0.142, allocations: 144.1 kB / 451.2 MB, free: 11.78 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.142, allocations: 0 / 451.2 MB, free: 11.78 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001135/0.1422, allocations: 75.84 kB / 451.3 MB, free: 11.7 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002388/0.1424, allocations: 15.94 kB / 451.3 MB, free: 11.69 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002147/0.1446, allocations: 1.959 MB / 453.3 MB, free: 9.648 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003325/0.1449, allocations: 0.7436 MB / 454 MB, free: 8.879 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001041/0.145, allocations: 21.41 kB / 454.1 MB, free: 8.859 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.247e-05/0.1451, allocations: 63.42 kB / 454.1 MB, free: 8.797 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1451, allocations: 0 / 454.1 MB, free: 8.797 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02545/0.1706, allocations: 2.653 MB / 456.8 MB, free: 6.148 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.767/7.938, allocations: 7.219 kB / 456.8 MB, free: 6.145 MB / 334.1 MB (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 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Blocks_ConversionBlocks.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) 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) Reference file matches