Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001875/0.001875, allocations: 109.9 kB / 21.18 MB, free: 0.7188 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.00204/0.00204, allocations: 216.7 kB / 24.49 MB, free: 4.09 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.386/1.386, allocations: 207.6 MB / 235.3 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] 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(Modelica.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_3_2_3_Modelica_ComplexBlocks_Examples_TestConversionBlock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_3_2_3_Modelica_ComplexBlocks_Examples_TestConversionBlock",fmuType="me",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.001842/0.001842, allocations: 56.31 kB / 347.2 MB, free: 10.16 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.328, allocations: 49.16 MB / 396.3 MB, free: 9.164 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.002635/0.3307, allocations: 1.51 MB / 397.8 MB, free: 8.117 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008561/0.3315, allocations: 0.5569 MB / 398.4 MB, free: 7.723 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.153e-05/0.3316, allocations: 1.094 kB / 398.4 MB, free: 7.723 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001197/0.3317, allocations: 16.56 kB / 398.4 MB, free: 7.715 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.107e-05/0.3318, allocations: 10.31 kB / 398.4 MB, free: 7.707 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000169/0.3319, allocations: 38.17 kB / 398.5 MB, free: 7.688 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001073/0.332, allocations: 58.22 kB / 398.5 MB, free: 7.66 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.3321, allocations: 20.05 kB / 398.5 MB, free: 7.648 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001149/0.3323, allocations: 29.39 kB / 398.6 MB, free: 7.633 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.909e-05/0.3323, allocations: 31.23 kB / 398.6 MB, free: 7.617 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.899e-05/0.3323, allocations: 5.094 kB / 398.6 MB, free: 7.617 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.472e-05/0.3324, allocations: 13.42 kB / 398.6 MB, free: 7.617 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.867e-05/0.3324, allocations: 12.75 kB / 398.6 MB, free: 7.609 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.42e-05/0.3325, allocations: 32.05 kB / 398.6 MB, free: 7.586 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001748/0.3326, allocations: 68.08 kB / 398.7 MB, free: 7.559 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.3326, allocations: 1.125 kB / 398.7 MB, free: 7.559 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3326, allocations: 0 / 398.7 MB, free: 7.559 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.251e-05/0.3327, allocations: 7.938 kB / 398.7 MB, free: 7.551 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005819/0.3332, allocations: 311.3 kB / 399 MB, free: 7.27 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.3333, allocations: 13.55 kB / 399 MB, free: 7.266 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.983e-05/0.3333, allocations: 33.53 kB / 399.1 MB, free: 7.227 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.668e-05/0.3333, allocations: 8.672 kB / 399.1 MB, free: 7.223 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.951e-05/0.3334, allocations: 118.8 kB / 399.2 MB, free: 7.086 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.3334, allocations: 3.594 kB / 399.2 MB, free: 7.086 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.615e-05/0.3334, allocations: 7.219 kB / 399.2 MB, free: 7.082 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002665/0.3337, allocations: 85.11 kB / 399.3 MB, free: 7.035 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.3337, allocations: 5.094 kB / 399.3 MB, free: 7.031 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.3337, allocations: 4 kB / 399.3 MB, free: 7.027 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.3337, allocations: 1.312 kB / 399.3 MB, free: 7.027 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003213/0.3341, allocations: 86.38 kB / 399.4 MB, free: 7.008 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003854/0.3344, allocations: 273.9 kB / 399.7 MB, free: 6.746 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002459/0.3347, allocations: 69.72 kB / 399.7 MB, free: 6.711 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001605/0.3349, allocations: 51.47 kB / 399.8 MB, free: 6.688 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.3349, allocations: 1.062 kB / 399.8 MB, free: 6.688 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.443e-05/0.3349, allocations: 32.36 kB / 399.8 MB, free: 6.648 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.3349, allocations: 0 / 399.8 MB, free: 6.648 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005688/0.3355, allocations: 147.4 kB / 400 MB, free: 6.594 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.159e-05/0.3355, allocations: 52.75 kB / 400 MB, free: 6.531 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.415e-05/0.3355, allocations: 113.4 kB / 400.1 MB, free: 6.426 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.3356, allocations: 26.83 kB / 400.1 MB, free: 6.395 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.459e-05/0.3356, allocations: 91.77 kB / 400.2 MB, free: 6.305 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.289e-05/0.3356, allocations: 19.34 kB / 400.2 MB, free: 6.289 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.311e-05/0.3356, allocations: 14.73 kB / 400.3 MB, free: 6.273 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.624e-05/0.3357, allocations: 326.9 kB / 400.6 MB, free: 5.949 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001541/0.3359, allocations: 37.7 kB / 400.6 MB, free: 5.941 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000138/0.336, allocations: 37.73 kB / 400.7 MB, free: 5.934 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002771/0.3363, allocations: 80.59 kB / 400.7 MB, free: 5.91 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3363, allocations: 5.656 kB / 400.7 MB, free: 5.906 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003509/0.3366, allocations: 114.1 kB / 400.8 MB, free: 5.855 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.3366, allocations: 5.219 kB / 400.9 MB, free: 5.855 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.3366, allocations: 0.7031 kB / 400.9 MB, free: 5.855 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.3367, allocations: 3.938 kB / 400.9 MB, free: 5.852 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001401/0.3368, allocations: 23.7 kB / 400.9 MB, free: 5.848 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.3368, allocations: 1.406 kB / 400.9 MB, free: 5.848 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.028e-05/0.3369, allocations: 18.64 kB / 400.9 MB, free: 5.84 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-06/0.3369, allocations: 6.328 kB / 400.9 MB, free: 5.836 MB / 318.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 6.074e-05/0.337, allocations: 112.7 kB / 401 MB, free: 5.719 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.88e-05/0.337, allocations: 7.922 kB / 401 MB, free: 5.715 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004067/0.3374, allocations: 133.9 kB / 401.2 MB, free: 5.648 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.3374, allocations: 1.125 kB / 401.2 MB, free: 5.648 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.3374, allocations: 0.9688 kB / 401.2 MB, free: 5.648 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.3374, allocations: 4.547 kB / 401.2 MB, free: 5.645 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001618/0.3376, allocations: 161.4 kB / 401.3 MB, free: 5.473 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.3376, allocations: 0 / 401.3 MB, free: 5.473 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001208/0.3377, allocations: 24.94 kB / 401.3 MB, free: 5.469 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.3377, allocations: 1.219 kB / 401.3 MB, free: 5.469 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.3377, allocations: 1.031 kB / 401.3 MB, free: 5.469 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.3377, allocations: 0.5156 kB / 401.3 MB, free: 5.469 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3377, allocations: 5.25 kB / 401.4 MB, free: 5.465 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003677/0.3381, allocations: 223.8 kB / 401.6 MB, free: 5.305 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.095e-05/0.3381, allocations: 3.641 kB / 401.6 MB, free: 5.305 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/0.3381, allocations: 0 / 401.6 MB, free: 5.305 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.3382, allocations: 15.62 kB / 401.6 MB, free: 5.301 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.377e-05/0.3383, allocations: 10.55 kB / 401.6 MB, free: 5.297 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.112e-06/0.3383, allocations: 1.797 kB / 401.6 MB, free: 5.297 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.396e-05/0.3383, allocations: 92.94 kB / 401.7 MB, free: 5.215 MB / 318.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3383, allocations: 3.938 kB / 401.7 MB, free: 5.211 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002312/0.3385, allocations: 18.14 kB / 401.7 MB, free: 5.203 MB / 318.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.0005526/0.3391, allocations: 0.7448 MB / 402.5 MB, free: 4.523 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003765/0.3395, allocations: 96.48 kB / 402.6 MB, free: 4.496 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.3395, allocations: 0 / 402.6 MB, free: 4.496 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001749/0.3396, allocations: 46.89 kB / 402.6 MB, free: 4.488 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000334/0.34, allocations: 7.094 kB / 402.6 MB, free: 4.484 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005005/0.3405, allocations: 193.2 kB / 402.8 MB, free: 4.305 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001517/0.3406, allocations: 0.6905 MB / 403.5 MB, free: 3.605 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.333e-05/0.3407, allocations: 4.188 kB / 403.5 MB, free: 3.605 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.582e-05/0.3407, allocations: 24.11 kB / 403.5 MB, free: 3.586 MB / 318.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3407, allocations: 3.938 kB / 403.5 MB, free: 3.582 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0305/0.3712, allocations: 2.161 MB / 405.7 MB, free: 2.961 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/11.97, allocations: 5.469 kB / 405.7 MB, free: 2.957 MB / 318.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_3_2_3_Modelica_ComplexBlocks_Examples_TestConversionBlock.fmu > Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/ComplexBlocks/Examples/TestConversionBlock/TestConversionBlock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 14.398344863002421]