Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.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.0009415/0.0009415, allocations: 83.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.005718/0.005718, allocations: 165.9 kB / 24.7 MB, free: 8.887 MB / 18.57 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 0.8694/0.8694, allocations: 158.6 MB / 186.5 MB, free: 3.031 MB / 170.7 MB " [Timeout remaining time 179] 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.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 298.4 MB, free: 3.531 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.062e-05/2.223e-05, allocations: 2.281 kB / 298.4 MB, free: 3.527 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.002854/0.002876, allocations: 1.999 MB / 300.4 MB, free: 1.508 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004251/0.003301, allocations: 159.3 kB / 300.6 MB, free: 1.352 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.587e-05/0.003387, allocations: 4 kB / 300.6 MB, free: 1.348 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001232/0.00351, allocations: 31.66 kB / 300.6 MB, free: 1.316 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.173e-05/0.003592, allocations: 55.56 kB / 300.7 MB, free: 1.262 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001664/0.003758, allocations: 39.94 kB / 300.7 MB, free: 1.223 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002424/0.004001, allocations: 187 kB / 300.9 MB, free: 1.039 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001561/0.004157, allocations: 38.47 kB / 300.9 MB, free: 1 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001113/0.004268, allocations: 103.8 kB / 301 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001107/0.004379, allocations: 51.88 kB / 301.1 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.725e-05/0.004416, allocations: 12 kB / 301.1 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.783e-05/0.004444, allocations: 20 kB / 301.1 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.542e-05/0.004479, allocations: 31.84 kB / 301.1 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.629e-05/0.004546, allocations: 59.89 kB / 301.2 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002646/0.00481, allocations: 179.3 kB / 301.4 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.004816, allocations: 0 / 301.4 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.073e-06/0.004818, allocations: 0 / 301.4 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.004824, allocations: 0 / 301.4 MB, free: 0.5508 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0004996/0.005324, allocations: 401.4 kB / 301.8 MB, free: 132 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.005369, allocations: 15.98 kB / 301.8 MB, free: 116 kB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.842e-05/0.005438, allocations: 46.73 kB / 301.8 MB, free: 60 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.162e-05/0.005489, allocations: 24.78 kB / 301.9 MB, free: 36 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1293/0.1348, allocations: 148.9 kB / 302 MB, free: 14.38 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.323e-05/0.1348, allocations: 12.78 kB / 302 MB, free: 14.38 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.992e-05/0.1349, allocations: 21.52 kB / 302 MB, free: 14.38 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003367/0.1352, allocations: 187.6 kB / 302.2 MB, free: 14.31 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.1352, allocations: 1.922 kB / 302.2 MB, free: 14.31 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.749e-05/0.1352, allocations: 10.88 kB / 302.2 MB, free: 14.31 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.848e-06/0.1352, allocations: 4.281 kB / 302.2 MB, free: 14.31 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001689/0.1354, allocations: 95.75 kB / 302.3 MB, free: 14.31 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009296/0.1363, allocations: 0.8939 MB / 303.2 MB, free: 13.62 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001209/0.1365, allocations: 103.2 kB / 303.3 MB, free: 13.55 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.975e-05/0.1365, allocations: 44.58 kB / 303.4 MB, free: 13.53 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.211e-05/0.1365, allocations: 3.125 kB / 303.4 MB, free: 13.53 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.798e-05/0.1365, allocations: 34.92 kB / 303.4 MB, free: 13.49 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 3.186e-06/0.1365, allocations: 0 / 303.4 MB, free: 13.49 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002651/0.1368, allocations: 124.9 kB / 303.5 MB, free: 13.45 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.036e-05/0.1368, allocations: 109.3 kB / 303.6 MB, free: 13.32 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001517/0.137, allocations: 211.5 kB / 303.8 MB, free: 13.21 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.795e-06/0.137, allocations: 31.02 kB / 303.9 MB, free: 13.18 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.548e-05/0.1371, allocations: 146.2 kB / 304 MB, free: 13.07 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.932e-05/0.1371, allocations: 45.53 kB / 304.1 MB, free: 13.04 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.679e-05/0.1372, allocations: 45.34 kB / 304.1 MB, free: 13.02 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.917e-05/0.1372, allocations: 331.5 kB / 304.4 MB, free: 12.71 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.832e-05/0.1373, allocations: 34.72 kB / 304.5 MB, free: 12.71 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001053/0.1374, allocations: 139.9 kB / 304.6 MB, free: 12.59 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001677/0.1375, allocations: 200.5 kB / 304.8 MB, free: 12.45 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.1375, allocations: 1.156 kB / 304.8 MB, free: 12.45 MB / 282.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002503/0.1378, allocations: 222.7 kB / 305 MB, free: 12.39 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.1378, allocations: 10.44 kB / 305 MB, free: 12.39 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.1378, allocations: 3.75 kB / 305 MB, free: 12.39 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.1378, allocations: 4.531 kB / 305 MB, free: 12.39 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.138, allocations: 51.91 kB / 305.1 MB, free: 12.38 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.138, allocations: 5.5 kB / 305.1 MB, free: 12.38 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.753e-05/0.138, allocations: 31.95 kB / 305.1 MB, free: 12.36 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.138, allocations: 13.95 kB / 305.1 MB, free: 12.36 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (28): * Single equations (assignments): 28 * 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 5.966e-05/0.1381, allocations: 135.8 kB / 305.3 MB, free: 12.24 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.774e-05/0.1381, allocations: 26.53 kB / 305.3 MB, free: 12.23 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.007e-05/0.1382, allocations: 19.67 kB / 305.3 MB, free: 12.23 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.1382, allocations: 2.281 kB / 305.3 MB, free: 12.23 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.1382, allocations: 4.625 kB / 305.3 MB, free: 12.23 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.1382, allocations: 5.203 kB / 305.3 MB, free: 12.23 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002723/0.1385, allocations: 198.1 kB / 305.5 MB, free: 12.07 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.1385, allocations: 5.062 kB / 305.5 MB, free: 12.07 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.65e-05/0.1386, allocations: 32.45 kB / 305.5 MB, free: 12.07 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.1386, allocations: 1.094 kB / 305.5 MB, free: 12.07 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.1386, allocations: 6.141 kB / 305.6 MB, free: 12.07 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.1386, allocations: 4.656 kB / 305.6 MB, free: 12.07 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1386, allocations: 0.6562 kB / 305.6 MB, free: 12.07 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002147/0.1388, allocations: 388.7 kB / 305.9 MB, free: 11.75 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.262e-05/0.1388, allocations: 23.25 kB / 306 MB, free: 11.73 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.113e-05/0.1388, allocations: 7.031 kB / 306 MB, free: 11.73 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.392e-05/0.1389, allocations: 1.125 kB / 306 MB, free: 11.73 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.067e-05/0.1389, allocations: 7.422 kB / 306 MB, free: 11.73 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.72e-06/0.1389, allocations: 4.219 kB / 306 MB, free: 11.73 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.078e-05/0.139, allocations: 153 kB / 306.1 MB, free: 11.62 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.139, allocations: 416 / 306.1 MB, free: 11.62 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002505/0.1393, allocations: 39.72 kB / 306.2 MB, free: 11.62 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (mass1.s,mass1.v,mass2.s,mass2.v,mass3.s,mass3.v) * 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 (12): * Single equations (assignments): 12 * 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.0002869/0.1396, allocations: 0.9125 MB / 307.1 MB, free: 10.77 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000175/0.1397, allocations: 108.1 kB / 307.2 MB, free: 10.73 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1397, allocations: 1.875 kB / 307.2 MB, free: 10.73 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.969e-05/0.1398, allocations: 32.3 kB / 307.2 MB, free: 10.73 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004167/0.1402, allocations: 39.27 kB / 307.3 MB, free: 10.71 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001764/0.142, allocations: 2.486 MB / 309.7 MB, free: 8.676 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.407e-05/0.1421, allocations: 119 kB / 309.9 MB, free: 8.594 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.464e-05/0.1421, allocations: 20.91 kB / 309.9 MB, free: 8.586 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.587e-05/0.1422, allocations: 50.28 kB / 309.9 MB, free: 8.551 MB / 282.7 MB Notification: Performance of SimCode: time 1.152e-06/0.1422, allocations: 1.156 kB / 309.9 MB, free: 8.551 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02174/0.1639, allocations: 4.172 MB / 314.1 MB, free: 7.27 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.869/7.033, allocations: 9.125 kB / 314.1 MB, free: 7.262 MB / 282.7 MB " [Timeout remaining time 653] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_SignConvention.fmu > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/SignConvention/SignConvention.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable mass3.v in file Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention_res.csv. Warning: Get data of variable mass3.v from file Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.696994154714048]