Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.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.001313/0.001313, allocations: 112 kB / 20.43 MB, free: 1.457 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.001391/0.001391, allocations: 181.3 kB / 23.72 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.578/1.578, allocations: 225.6 MB / 252.5 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(Modelica.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_4_0_0_Modelica_ComplexBlocks_Examples_TestConversionBlock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_4_0_0_Modelica_ComplexBlocks_Examples_TestConversionBlock",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001651/0.001651, allocations: 48.06 kB / 370.4 MB, free: 9.883 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3377/0.3393, allocations: 52.19 MB / 422.6 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.003339/0.3427, allocations: 1.534 MB / 424.1 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001163/0.3438, allocations: 0.5103 MB / 424.6 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.602e-05/0.3439, allocations: 0 / 424.6 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001638/0.3441, allocations: 19.86 kB / 424.7 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001006/0.3442, allocations: 11.88 kB / 424.7 MB, free: 12.53 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002329/0.3444, allocations: 39.91 kB / 424.7 MB, free: 12.49 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001411/0.3445, allocations: 51.89 kB / 424.8 MB, free: 12.44 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001555/0.3447, allocations: 15.94 kB / 424.8 MB, free: 12.42 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001638/0.3449, allocations: 31.86 kB / 424.8 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.345, allocations: 31.91 kB / 424.8 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.086e-05/0.345, allocations: 4 kB / 424.8 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.29e-05/0.3451, allocations: 16 kB / 424.9 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.189e-05/0.3451, allocations: 19.91 kB / 424.9 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.814e-05/0.3451, allocations: 23.86 kB / 424.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002448/0.3454, allocations: 76.03 kB / 425 MB, free: 12.23 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/0.3454, allocations: 0 / 425 MB, free: 12.23 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3454, allocations: 0 / 425 MB, free: 12.23 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.713e-05/0.3454, allocations: 0 / 425 MB, free: 12.23 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.0008756/0.3463, allocations: 318.1 kB / 425.3 MB, free: 11.89 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.614e-05/0.3464, allocations: 8.031 kB / 425.3 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.971e-05/0.3464, allocations: 30.75 kB / 425.3 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.219e-05/0.3465, allocations: 8.891 kB / 425.3 MB, free: 11.83 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001483/0.3466, allocations: 114.5 kB / 425.4 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/0.3466, allocations: 8.312 kB / 425.5 MB, free: 11.69 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.784e-05/0.3467, allocations: 4.375 kB / 425.5 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003166/0.347, allocations: 89.77 kB / 425.5 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.347, allocations: 0 / 425.5 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.347, allocations: 7.984 kB / 425.6 MB, free: 11.58 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.347, allocations: 0 / 425.6 MB, free: 11.58 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003153/0.3473, allocations: 75.92 kB / 425.6 MB, free: 11.51 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005593/0.3479, allocations: 283.7 kB / 425.9 MB, free: 11.19 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002797/0.3482, allocations: 66.53 kB / 426 MB, free: 11.11 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001614/0.3483, allocations: 48.94 kB / 426 MB, free: 11.06 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.349e-05/0.3483, allocations: 0 / 426 MB, free: 11.06 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/0.3484, allocations: 42.53 kB / 426.1 MB, free: 11.01 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.3484, allocations: 0 / 426.1 MB, free: 11.01 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006206/0.349, allocations: 145.6 kB / 426.2 MB, free: 10.86 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.121e-05/0.349, allocations: 51.41 kB / 426.3 MB, free: 10.8 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.3492, allocations: 125.7 kB / 426.4 MB, free: 10.67 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.3492, allocations: 25.7 kB / 426.4 MB, free: 10.64 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.244e-05/0.3492, allocations: 88.12 kB / 426.5 MB, free: 10.55 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.096e-05/0.3493, allocations: 23.84 kB / 426.5 MB, free: 10.52 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.025e-05/0.3493, allocations: 13.72 kB / 426.5 MB, free: 10.5 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001907/0.3495, allocations: 318.8 kB / 426.8 MB, free: 10.18 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001546/0.3497, allocations: 35.95 kB / 426.9 MB, free: 10.15 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001471/0.3498, allocations: 48.27 kB / 426.9 MB, free: 10.1 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002815/0.3501, allocations: 76.8 kB / 427 MB, free: 10.02 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.3501, allocations: 4 kB / 427 MB, free: 10.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003663/0.3505, allocations: 113.6 kB / 427.1 MB, free: 9.902 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.3505, allocations: 8 kB / 427.1 MB, free: 9.895 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.3505, allocations: 0 / 427.1 MB, free: 9.895 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.3505, allocations: 0 / 427.1 MB, free: 9.895 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000149/0.3507, allocations: 15.98 kB / 427.1 MB, free: 9.879 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.3507, allocations: 0 / 427.1 MB, free: 9.879 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.782e-05/0.3508, allocations: 19.92 kB / 427.1 MB, free: 9.859 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.3508, allocations: 15.86 kB / 427.2 MB, free: 9.844 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 0.00011/0.3509, allocations: 109.8 kB / 427.3 MB, free: 9.727 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.484e-05/0.3509, allocations: 11.95 kB / 427.3 MB, free: 9.715 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004086/0.3513, allocations: 117.7 kB / 427.4 MB, free: 9.59 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.3513, allocations: 7.984 kB / 427.4 MB, free: 9.582 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/0.3513, allocations: 3.984 kB / 427.4 MB, free: 9.578 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3513, allocations: 4 kB / 427.4 MB, free: 9.574 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002393/0.3516, allocations: 160.7 kB / 427.6 MB, free: 9.375 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3516, allocations: 0 / 427.6 MB, free: 9.375 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001179/0.3517, allocations: 23.92 kB / 427.6 MB, free: 9.352 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.3517, allocations: 3.984 kB / 427.6 MB, free: 9.348 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.3517, allocations: 0 / 427.6 MB, free: 9.348 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.3517, allocations: 0 / 427.6 MB, free: 9.348 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.3517, allocations: 0 / 427.6 MB, free: 9.348 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004464/0.3522, allocations: 231.3 kB / 427.8 MB, free: 9.105 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.995e-05/0.3522, allocations: 11.94 kB / 427.8 MB, free: 9.094 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.94e-05/0.3522, allocations: 4 kB / 427.8 MB, free: 9.09 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.3523, allocations: 7.984 kB / 427.8 MB, free: 9.082 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.252e-05/0.3524, allocations: 11.98 kB / 427.9 MB, free: 9.07 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/0.3524, allocations: 8.062 kB / 427.9 MB, free: 9.062 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.66e-05/0.3525, allocations: 95.53 kB / 428 MB, free: 8.969 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3525, allocations: 0 / 428 MB, free: 8.969 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002361/0.3527, allocations: 8 kB / 428 MB, free: 8.961 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.0008837/0.3536, allocations: 0.7553 MB / 428.7 MB, free: 8.18 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004214/0.354, allocations: 83.91 kB / 428.8 MB, free: 8.098 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.354, allocations: 0 / 428.8 MB, free: 8.098 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001886/0.3542, allocations: 56.12 kB / 428.9 MB, free: 8.043 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000383/0.3546, allocations: 15.22 kB / 428.9 MB, free: 8.031 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006207/0.3552, allocations: 192 kB / 429.1 MB, free: 7.805 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003899/0.3556, allocations: 0.6883 MB / 429.7 MB, free: 7.09 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.647e-05/0.3556, allocations: 11.98 kB / 429.8 MB, free: 7.078 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.694e-05/0.3557, allocations: 19.44 kB / 429.8 MB, free: 7.059 MB / 334.1 MB Notification: Performance of SimCode: time 1.092e-06/0.3557, allocations: 0 / 429.8 MB, free: 7.059 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03254/0.3882, allocations: 2.143 MB / 431.9 MB, free: 5.043 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/11.95, allocations: 8.484 kB / 431.9 MB, free: 5.039 MB / 334.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_ComplexBlocks_Examples_TestConversionBlock.fmu > Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/ComplexBlocks/Examples/TestConversionBlock/TestConversionBlock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 14.642281816999457]