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.001265/0.001265, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001423/0.001423, allocations: 208.3 kB / 23.73 MB, free: 4.523 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.403/1.403, allocations: 230.6 MB / 257.5 MB, free: 7.809 MB / 206.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: "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_4_1_0_Modelica_ComplexBlocks_Examples_TestConversionBlock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_4_1_0_Modelica_ComplexBlocks_Examples_TestConversionBlock",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 47.92 kB / 377.7 MB, free: 3.109 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2338/0.2353, allocations: 53.36 MB / 431 MB, free: 6.832 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.002616/0.2379, allocations: 1.516 MB / 432.6 MB, free: 5.312 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008776/0.2388, allocations: 0.4987 MB / 433.1 MB, free: 4.809 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.344e-05/0.2388, allocations: 0 / 433.1 MB, free: 4.809 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001009/0.2389, allocations: 15.86 kB / 433.1 MB, free: 4.793 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.648e-05/0.239, allocations: 11.94 kB / 433.1 MB, free: 4.781 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001686/0.2391, allocations: 39.91 kB / 433.1 MB, free: 4.742 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.299e-05/0.2392, allocations: 59.77 kB / 433.2 MB, free: 4.684 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.834e-05/0.2393, allocations: 12 kB / 433.2 MB, free: 4.672 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001608/0.2395, allocations: 35.91 kB / 433.2 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.625e-05/0.2396, allocations: 35.78 kB / 433.3 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.537e-05/0.2396, allocations: 7.938 kB / 433.3 MB, free: 4.594 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.308e-05/0.2396, allocations: 15.98 kB / 433.3 MB, free: 4.578 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.667e-05/0.2396, allocations: 12 kB / 433.3 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.282e-05/0.2397, allocations: 27.86 kB / 433.3 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001494/0.2398, allocations: 72.42 kB / 433.4 MB, free: 4.473 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.2398, allocations: 0 / 433.4 MB, free: 4.473 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2398, allocations: 3.938 kB / 433.4 MB, free: 4.469 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.371e-06/0.2398, allocations: 0 / 433.4 MB, free: 4.469 MB / 334.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.0006047/0.2404, allocations: 302.1 kB / 433.7 MB, free: 4.145 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.2405, allocations: 8.031 kB / 433.7 MB, free: 4.137 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.629e-05/0.2405, allocations: 38.75 kB / 433.7 MB, free: 4.09 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.642e-05/0.2405, allocations: 4.891 kB / 433.7 MB, free: 4.086 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001029/0.2406, allocations: 118.5 kB / 433.9 MB, free: 3.945 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.2407, allocations: 4.375 kB / 433.9 MB, free: 3.941 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.56e-05/0.2407, allocations: 8.375 kB / 433.9 MB, free: 3.934 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000264/0.2409, allocations: 89.7 kB / 434 MB, free: 3.84 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.635e-06/0.241, allocations: 0 / 434 MB, free: 3.84 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.241, allocations: 0 / 434 MB, free: 3.84 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.241, allocations: 0 / 434 MB, free: 3.84 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003179/0.2413, allocations: 79.92 kB / 434 MB, free: 3.762 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000415/0.2417, allocations: 271.8 kB / 434.3 MB, free: 3.453 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002529/0.242, allocations: 66.53 kB / 434.4 MB, free: 3.379 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001663/0.2421, allocations: 52.94 kB / 434.4 MB, free: 3.324 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.109e-05/0.2421, allocations: 0 / 434.4 MB, free: 3.324 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.2422, allocations: 38.5 kB / 434.5 MB, free: 3.277 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.2422, allocations: 0 / 434.5 MB, free: 3.277 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005803/0.2427, allocations: 157.7 kB / 434.6 MB, free: 3.117 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.173e-05/0.2428, allocations: 51.41 kB / 434.7 MB, free: 3.055 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.664e-05/0.2429, allocations: 117.8 kB / 434.8 MB, free: 2.93 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.2429, allocations: 25.7 kB / 434.8 MB, free: 2.898 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.814e-05/0.243, allocations: 100 kB / 434.9 MB, free: 2.797 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.62e-05/0.243, allocations: 11.89 kB / 434.9 MB, free: 2.785 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.864e-05/0.243, allocations: 17.72 kB / 434.9 MB, free: 2.762 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.2432, allocations: 326.8 kB / 435.2 MB, free: 2.434 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00015/0.2433, allocations: 32.03 kB / 435.3 MB, free: 2.402 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001385/0.2435, allocations: 43.95 kB / 435.3 MB, free: 2.359 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002743/0.2437, allocations: 80.73 kB / 435.4 MB, free: 2.277 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2437, allocations: 0 / 435.4 MB, free: 2.277 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003333/0.2441, allocations: 117.6 kB / 435.5 MB, free: 2.156 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.2441, allocations: 4 kB / 435.5 MB, free: 2.152 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.2441, allocations: 0 / 435.5 MB, free: 2.152 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.2441, allocations: 8 kB / 435.5 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001389/0.2442, allocations: 15.98 kB / 435.5 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.2443, allocations: 0 / 435.5 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.675e-05/0.2443, allocations: 19.91 kB / 435.6 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.2443, allocations: 3.938 kB / 435.6 MB, free: 2.105 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 (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 8.686e-05/0.2444, allocations: 113.8 kB / 435.7 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.443e-05/0.2445, allocations: 0 / 435.7 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003993/0.2449, allocations: 141.6 kB / 435.8 MB, free: 1.836 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.2449, allocations: 4 kB / 435.8 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.2449, allocations: 0 / 435.8 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.2449, allocations: 0 / 435.8 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001873/0.2451, allocations: 156.6 kB / 436 MB, free: 1.637 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2451, allocations: 4 kB / 436 MB, free: 1.633 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000115/0.2452, allocations: 15.98 kB / 436 MB, free: 1.617 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.2452, allocations: 4 kB / 436 MB, free: 1.613 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.2452, allocations: 4 kB / 436 MB, free: 1.609 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.2452, allocations: 0 / 436 MB, free: 1.609 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2452, allocations: 192 / 436 MB, free: 1.609 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003955/0.2456, allocations: 227.3 kB / 436.2 MB, free: 1.371 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.242e-05/0.2456, allocations: 7.953 kB / 436.2 MB, free: 1.363 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.848e-05/0.2456, allocations: 4 kB / 436.2 MB, free: 1.359 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.2457, allocations: 7.984 kB / 436.2 MB, free: 1.352 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.961e-05/0.2458, allocations: 15.98 kB / 436.3 MB, free: 1.336 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-06/0.2458, allocations: 384 / 436.3 MB, free: 1.336 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.853e-05/0.2458, allocations: 99.14 kB / 436.4 MB, free: 1.238 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2458, allocations: 0 / 436.4 MB, free: 1.238 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002216/0.246, allocations: 12 kB / 436.4 MB, free: 1.227 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 (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.000702/0.2468, allocations: 0.7553 MB / 437.1 MB, free: 456 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003277/0.2471, allocations: 83.92 kB / 437.2 MB, free: 372 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.2471, allocations: 0 / 437.2 MB, free: 372 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001559/0.2472, allocations: 47.89 kB / 437.2 MB, free: 324 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002945/0.2475, allocations: 10.58 kB / 437.3 MB, free: 316 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004806/0.248, allocations: 199.8 kB / 437.5 MB, free: 76 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.596e-05/0.2481, allocations: 71.33 kB / 437.5 MB, free: 15.98 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.27e-05/0.2481, allocations: 4 kB / 437.5 MB, free: 15.98 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.134e-05/0.2482, allocations: 23.42 kB / 437.6 MB, free: 15.96 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2482, allocations: 0 / 437.6 MB, free: 15.96 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02734/0.2755, allocations: 2.622 MB / 440.2 MB, free: 13.47 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.29/10.57, allocations: 11.36 kB / 440.2 MB, free: 13.46 MB / 350.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_ComplexBlocks_Examples_TestConversionBlock_fmu --startTime=0 --stopTime=1.01 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_ComplexBlocks_Examples_TestConversionBlock.fmu > Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) [Timeout 52.5] 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: 12.825549536006292]