Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.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.001821/0.001821, allocations: 119.8 kB / 17.74 MB, free: 5.297 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.002279/0.002279, allocations: 181.3 kB / 20.67 MB, free: 2.371 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.423/1.423, allocations: 222.9 MB / 246.4 MB, free: 4.211 MB / 190.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.Blocks.Examples.CompareSincExpSine,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_CompareSincExpSine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.CompareSincExpSine,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_CompareSincExpSine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001622/0.001622, allocations: 51.91 kB / 357.5 MB, free: 8.848 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1081, allocations: 49.43 MB / 406.9 MB, free: 7.367 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.002895/0.111, allocations: 1.496 MB / 408.4 MB, free: 5.867 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007543/0.1118, allocations: 454.8 kB / 408.9 MB, free: 5.422 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.338e-05/0.1119, allocations: 0 / 408.9 MB, free: 5.422 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.344e-05/0.1119, allocations: 3.938 kB / 408.9 MB, free: 5.418 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000101/0.112, allocations: 15.8 kB / 408.9 MB, free: 5.402 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001766/0.1122, allocations: 27.97 kB / 408.9 MB, free: 5.375 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000131/0.1124, allocations: 75.64 kB / 409 MB, free: 5.301 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.077e-05/0.1124, allocations: 4 kB / 409 MB, free: 5.297 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001457/0.1126, allocations: 31.92 kB / 409 MB, free: 5.266 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.455e-05/0.1127, allocations: 43.77 kB / 409.1 MB, free: 5.223 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.075e-05/0.1127, allocations: 4 kB / 409.1 MB, free: 5.219 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.648e-05/0.1127, allocations: 4 kB / 409.1 MB, free: 5.215 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.304e-05/0.1128, allocations: 7.984 kB / 409.1 MB, free: 5.207 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.516e-05/0.1128, allocations: 23.86 kB / 409.1 MB, free: 5.184 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001149/0.1129, allocations: 56.02 kB / 409.1 MB, free: 5.129 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1129, allocations: 0 / 409.1 MB, free: 5.129 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1129, allocations: 4 kB / 409.2 MB, free: 5.125 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.113, allocations: 0 / 409.2 MB, free: 5.125 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006958/0.1137, allocations: 391.1 kB / 409.5 MB, free: 4.695 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.1137, allocations: 12.03 kB / 409.5 MB, free: 4.684 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.645e-05/0.1138, allocations: 34.75 kB / 409.6 MB, free: 4.641 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.984e-05/0.1138, allocations: 8.891 kB / 409.6 MB, free: 4.633 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.114, allocations: 176.2 kB / 409.8 MB, free: 4.422 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.114, allocations: 8.125 kB / 409.8 MB, free: 4.414 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.142e-05/0.114, allocations: 0 / 409.8 MB, free: 4.414 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002767/0.1143, allocations: 100 kB / 409.9 MB, free: 4.301 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.1143, allocations: 0 / 409.9 MB, free: 4.301 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.1143, allocations: 0 / 409.9 MB, free: 4.301 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.1143, allocations: 0 / 409.9 MB, free: 4.301 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002785/0.1146, allocations: 71.86 kB / 409.9 MB, free: 4.23 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002282/0.1148, allocations: 183.5 kB / 410.1 MB, free: 3.996 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002842/0.1151, allocations: 103.7 kB / 410.2 MB, free: 3.867 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001592/0.1153, allocations: 50.59 kB / 410.3 MB, free: 3.809 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.145e-05/0.1153, allocations: 3.984 kB / 410.3 MB, free: 3.805 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.5e-05/0.1154, allocations: 42.56 kB / 410.3 MB, free: 3.754 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.133e-06/0.1154, allocations: 0 / 410.3 MB, free: 3.754 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005657/0.116, allocations: 141.4 kB / 410.4 MB, free: 3.609 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.349e-05/0.116, allocations: 107.2 kB / 410.6 MB, free: 3.48 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/0.1162, allocations: 130.1 kB / 410.7 MB, free: 3.34 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.1162, allocations: 25.7 kB / 410.7 MB, free: 3.309 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.082e-05/0.1163, allocations: 92.12 kB / 410.8 MB, free: 3.215 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.661e-05/0.1163, allocations: 15.84 kB / 410.8 MB, free: 3.199 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.568e-05/0.1164, allocations: 21.7 kB / 410.8 MB, free: 3.172 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.1165, allocations: 310.8 kB / 411.1 MB, free: 2.859 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001476/0.1167, allocations: 35.97 kB / 411.2 MB, free: 2.824 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001433/0.1168, allocations: 46.55 kB / 411.2 MB, free: 2.77 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002878/0.1171, allocations: 86.45 kB / 411.3 MB, free: 2.676 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/0.1172, allocations: 3.938 kB / 411.3 MB, free: 2.672 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003358/0.1175, allocations: 109.6 kB / 411.4 MB, free: 2.559 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.1175, allocations: 8 kB / 411.4 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.1175, allocations: 0 / 411.4 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.1176, allocations: 8.078 kB / 411.4 MB, free: 2.543 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001536/0.1177, allocations: 15.98 kB / 411.4 MB, free: 2.527 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.1177, allocations: 0 / 411.4 MB, free: 2.527 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001003/0.1178, allocations: 15.94 kB / 411.5 MB, free: 2.512 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.1179, allocations: 4 kB / 411.5 MB, free: 2.508 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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.694e-05/0.118, allocations: 125.7 kB / 411.6 MB, free: 2.375 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.036e-05/0.118, allocations: 3.953 kB / 411.6 MB, free: 2.371 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.175e-05/0.118, allocations: 15.88 kB / 411.6 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.118, allocations: 0 / 411.6 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/0.1181, allocations: 4 kB / 411.6 MB, free: 2.348 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1181, allocations: 3.938 kB / 411.6 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001653/0.1182, allocations: 177.6 kB / 411.8 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.1182, allocations: 0 / 411.8 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001178/0.1184, allocations: 19.97 kB / 411.8 MB, free: 2.102 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.1184, allocations: 0 / 411.8 MB, free: 2.102 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.1184, allocations: 0 / 411.8 MB, free: 2.102 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.1184, allocations: 7.938 kB / 411.8 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1184, allocations: 0 / 411.8 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003727/0.1188, allocations: 154.6 kB / 412 MB, free: 1.918 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.655e-05/0.1189, allocations: 81.11 kB / 412 MB, free: 1.82 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.479e-05/0.1189, allocations: 4 kB / 412 MB, free: 1.816 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.59e-05/0.119, allocations: 11.98 kB / 412.1 MB, free: 1.805 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.804e-05/0.1191, allocations: 11.98 kB / 412.1 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.021e-06/0.1191, allocations: 0 / 412.1 MB, free: 1.793 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.84e-05/0.1192, allocations: 97.38 kB / 412.2 MB, free: 1.699 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1192, allocations: 0 / 412.2 MB, free: 1.699 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001991/0.1194, allocations: 12 kB / 412.2 MB, free: 1.688 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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.0007166/0.1201, allocations: 0.6841 MB / 412.9 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003622/0.1205, allocations: 79.88 kB / 412.9 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1205, allocations: 0 / 412.9 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001551/0.1206, allocations: 31.97 kB / 413 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001681/0.1208, allocations: 11.98 kB / 413 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006711/0.1215, allocations: 214.8 kB / 413.2 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003762/0.1219, allocations: 0.6883 MB / 413.9 MB, free: 15.88 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.047e-05/0.122, allocations: 12.16 kB / 413.9 MB, free: 15.87 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.444e-05/0.122, allocations: 19.44 kB / 413.9 MB, free: 15.85 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.122, allocations: 0 / 413.9 MB, free: 15.85 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02291/0.1449, allocations: 1.724 MB / 415.6 MB, free: 14.19 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.844/7.989, allocations: 11.58 kB / 415.6 MB, free: 14.19 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_4_0_0_Modelica_Blocks_Examples_CompareSincExpSine.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/CompareSincExpSine/CompareSincExpSine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.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: 10.756278862943873]