Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Blocks.IntegratorForceState,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_IntegratorForceState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.IntegratorForceState,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_IntegratorForceState",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.001559/0.001559, allocations: 101.5 kB / 17.63 MB, free: 5.344 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.001628/0.001628, allocations: 192 kB / 18.56 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2082/0.2082, allocations: 44.19 MB / 336.6 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 71.25 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1018, allocations: 60.82 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.003025/0.1049, allocations: 1.536 MB / 470.9 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002594/0.1052, allocations: 63.8 kB / 470.9 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.341e-05/0.1053, allocations: 0 / 470.9 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001277/0.1054, allocations: 7.875 kB / 471 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.951e-05/0.1055, allocations: 11.88 kB / 471 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001398/0.1056, allocations: 19.97 kB / 471 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001233/0.1058, allocations: 35.91 kB / 471 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.1059, allocations: 12 kB / 471 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.959e-05/0.1059, allocations: 15.92 kB / 471.1 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.386e-05/0.106, allocations: 15.88 kB / 471.1 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.535e-05/0.106, allocations: 4 kB / 471.1 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.146e-05/0.106, allocations: 0 / 471.1 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.915e-05/0.106, allocations: 11.98 kB / 471.1 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.335e-05/0.1061, allocations: 11.88 kB / 471.1 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.908e-05/0.1062, allocations: 40.11 kB / 471.1 MB, free: 12.47 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1062, allocations: 0 / 471.1 MB, free: 12.47 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1062, allocations: 0 / 471.1 MB, free: 12.47 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.1062, allocations: 0 / 471.1 MB, free: 12.47 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004522/0.1067, allocations: 355.4 kB / 471.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.1067, allocations: 8.031 kB / 471.5 MB, free: 12.06 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.904e-05/0.1068, allocations: 34.75 kB / 471.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.813e-05/0.1068, allocations: 8.828 kB / 471.5 MB, free: 12.01 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000177/0.107, allocations: 184.2 kB / 471.7 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.107, allocations: 384 / 471.7 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.597e-05/0.107, allocations: 8.359 kB / 471.7 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.1072, allocations: 76.7 kB / 471.8 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.1072, allocations: 3.938 kB / 471.8 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.245e-06/0.1072, allocations: 0 / 471.8 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.1072, allocations: 4 kB / 471.8 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.92e-05/0.1073, allocations: 23.97 kB / 471.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000464/0.1078, allocations: 453.2 kB / 472.3 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001603/0.108, allocations: 38.56 kB / 472.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.768e-05/0.108, allocations: 16.86 kB / 472.3 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.152e-05/0.108, allocations: 4.078 kB / 472.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.827e-05/0.1081, allocations: 34.5 kB / 472.4 MB, free: 11.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.1081, allocations: 4 kB / 472.4 MB, free: 11.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004457/0.1085, allocations: 101.5 kB / 472.5 MB, free: 10.94 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.871e-05/0.1086, allocations: 51.41 kB / 472.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.678e-05/0.1087, allocations: 121.7 kB / 472.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.1087, allocations: 25.7 kB / 472.7 MB, free: 10.72 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.627e-05/0.1087, allocations: 99.97 kB / 472.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.509e-05/0.1088, allocations: 11.81 kB / 472.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.428e-05/0.1088, allocations: 25.7 kB / 472.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.536e-05/0.1089, allocations: 318.8 kB / 473.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.809e-05/0.109, allocations: 15.98 kB / 473.1 MB, free: 10.24 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.147e-05/0.109, allocations: 39.42 kB / 473.2 MB, free: 10.19 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001075/0.1092, allocations: 63.36 kB / 473.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1092, allocations: 0 / 473.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001525/0.1093, allocations: 85.52 kB / 473.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.1093, allocations: 4 kB / 473.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.1094, allocations: 0 / 473.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/0.1094, allocations: 4 kB / 473.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.445e-05/0.1094, allocations: 16.03 kB / 473.3 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.1095, allocations: 0 / 473.3 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.984e-05/0.1095, allocations: 7.984 kB / 473.3 MB, free: 9.992 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.1095, allocations: 4 kB / 473.3 MB, free: 9.988 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 8.106e-05/0.1096, allocations: 113.8 kB / 473.4 MB, free: 9.867 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.389e-05/0.1096, allocations: 4 kB / 473.5 MB, free: 9.863 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.572e-05/0.1097, allocations: 8.281 kB / 473.5 MB, free: 9.855 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.032e-06/0.1097, allocations: 4 kB / 473.5 MB, free: 9.852 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.1097, allocations: 3.938 kB / 473.5 MB, free: 9.848 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1097, allocations: 7.984 kB / 473.5 MB, free: 9.84 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001607/0.1099, allocations: 169.6 kB / 473.6 MB, free: 9.625 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1099, allocations: 0 / 473.6 MB, free: 9.625 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.397e-05/0.1099, allocations: 11.98 kB / 473.7 MB, free: 9.613 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.11, allocations: 4 kB / 473.7 MB, free: 9.609 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.11, allocations: 4 kB / 473.7 MB, free: 9.605 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.11, allocations: 0 / 473.7 MB, free: 9.605 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.11, allocations: 0 / 473.7 MB, free: 9.605 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002283/0.1102, allocations: 187.3 kB / 473.8 MB, free: 9.406 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.872e-05/0.1103, allocations: 81.02 kB / 473.9 MB, free: 9.309 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/0.1103, allocations: 4 kB / 473.9 MB, free: 9.305 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.162e-05/0.1104, allocations: 4.031 kB / 473.9 MB, free: 9.301 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.501e-05/0.1104, allocations: 3.984 kB / 473.9 MB, free: 9.297 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.1104, allocations: 0 / 473.9 MB, free: 9.297 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.243e-05/0.1105, allocations: 91.59 kB / 474 MB, free: 9.207 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1105, allocations: 0 / 474 MB, free: 9.207 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002267/0.1107, allocations: 16 kB / 474 MB, free: 9.191 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (gain.y) * 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.0004654/0.1112, allocations: 0.7046 MB / 474.7 MB, free: 8.457 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001536/0.1113, allocations: 43.91 kB / 474.8 MB, free: 8.414 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1114, allocations: 4.25 kB / 474.8 MB, free: 8.41 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.66e-05/0.1114, allocations: 12 kB / 474.8 MB, free: 8.398 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003351/0.1118, allocations: 11.98 kB / 474.8 MB, free: 8.387 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001399/0.1132, allocations: 1.373 MB / 476.2 MB, free: 6.918 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002629/0.1134, allocations: 0.6807 MB / 476.9 MB, free: 6.211 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.429e-05/0.1135, allocations: 7.984 kB / 476.9 MB, free: 6.203 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.04e-05/0.1135, allocations: 15.44 kB / 476.9 MB, free: 6.188 MB / 350.1 MB Notification: Performance of SimCode: time 4e-07/0.1135, allocations: 4 kB / 476.9 MB, free: 6.184 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01796/0.1315, allocations: 1.537 MB / 478.4 MB, free: 4.703 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.83/7.962, allocations: 6.016 kB / 478.4 MB, free: 4.699 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Blocks_IntegratorForceState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Blocks_IntegratorForceState.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/IntegratorForceState/IntegratorForceState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches