Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.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) 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.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_SignConvention",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.001255/0.001255, allocations: 113.1 kB / 17.06 MB, free: 5.973 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.001374/0.001374, allocations: 200 kB / 18.01 MB, free: 5.055 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.276/1.276, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001068/0.001068, allocations: 40.03 kB / 350.8 MB, free: 3.77 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2344/0.2355, allocations: 49.44 MB / 400.2 MB, free: 8.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.00329/0.2388, allocations: 2.1 MB / 402.3 MB, free: 6.852 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003826/0.2393, allocations: 163.4 kB / 402.5 MB, free: 6.691 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.582e-05/0.2394, allocations: 3.938 kB / 402.5 MB, free: 6.688 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001246/0.2395, allocations: 27.72 kB / 402.5 MB, free: 6.66 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.676e-05/0.2396, allocations: 47.58 kB / 402.6 MB, free: 6.613 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000154/0.2398, allocations: 39.95 kB / 402.6 MB, free: 6.574 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002217/0.24, allocations: 187.2 kB / 402.8 MB, free: 6.391 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001522/0.2402, allocations: 54.3 kB / 402.8 MB, free: 6.34 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.696e-05/0.2403, allocations: 67.72 kB / 402.9 MB, free: 6.273 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001123/0.2404, allocations: 75.62 kB / 403 MB, free: 6.199 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.497e-05/0.2404, allocations: 12 kB / 403 MB, free: 6.188 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.807e-05/0.2405, allocations: 16 kB / 403 MB, free: 6.172 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.629e-05/0.2405, allocations: 35.84 kB / 403 MB, free: 6.137 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.439e-05/0.2406, allocations: 79.61 kB / 403.1 MB, free: 6.059 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002068/0.2408, allocations: 181 kB / 403.3 MB, free: 5.883 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.2408, allocations: 4 kB / 403.3 MB, free: 5.879 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.2408, allocations: 4 kB / 403.3 MB, free: 5.875 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.2408, allocations: 0 / 403.3 MB, free: 5.875 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0005766/0.2414, allocations: 458.9 kB / 403.7 MB, free: 5.379 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.2415, allocations: 8.031 kB / 403.8 MB, free: 5.371 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.072e-05/0.2415, allocations: 58.66 kB / 403.8 MB, free: 5.305 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.14e-05/0.2416, allocations: 20.73 kB / 403.8 MB, free: 5.285 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002403/0.2418, allocations: 220 kB / 404 MB, free: 5.031 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.2418, allocations: 12.38 kB / 404.1 MB, free: 5.02 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.714e-05/0.2419, allocations: 24.36 kB / 404.1 MB, free: 4.996 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002741/0.2422, allocations: 181.8 kB / 404.3 MB, free: 4.797 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.283e-05/0.2422, allocations: 3.984 kB / 404.3 MB, free: 4.793 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.956e-05/0.2422, allocations: 8 kB / 404.3 MB, free: 4.785 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.677e-06/0.2423, allocations: 8 kB / 404.3 MB, free: 4.777 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001709/0.2424, allocations: 103.8 kB / 404.4 MB, free: 4.676 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001201/0.2436, allocations: 0.9546 MB / 405.3 MB, free: 3.637 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001231/0.2438, allocations: 99.69 kB / 405.4 MB, free: 3.512 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.342e-05/0.2438, allocations: 46.75 kB / 405.5 MB, free: 3.457 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.236e-05/0.2439, allocations: 3.938 kB / 405.5 MB, free: 3.453 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.2439, allocations: 38.56 kB / 405.5 MB, free: 3.406 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.623e-06/0.2439, allocations: 0 / 405.5 MB, free: 3.406 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003071/0.2442, allocations: 129.9 kB / 405.6 MB, free: 3.273 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.042e-05/0.2443, allocations: 106.8 kB / 405.8 MB, free: 3.145 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001912/0.2445, allocations: 211.6 kB / 406 MB, free: 2.926 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.2445, allocations: 25.7 kB / 406 MB, free: 2.895 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001389/0.2446, allocations: 143.8 kB / 406.1 MB, free: 2.75 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.119e-05/0.2447, allocations: 55.3 kB / 406.2 MB, free: 2.695 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.401e-05/0.2448, allocations: 45.84 kB / 406.2 MB, free: 2.641 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.2449, allocations: 330.8 kB / 406.5 MB, free: 2.309 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.813e-05/0.245, allocations: 36.45 kB / 406.6 MB, free: 2.273 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.2451, allocations: 147.3 kB / 406.7 MB, free: 2.082 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002361/0.2453, allocations: 201.5 kB / 406.9 MB, free: 1.836 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.2454, allocations: 4 kB / 406.9 MB, free: 1.832 MB / 318.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003028/0.2457, allocations: 205.1 kB / 407.1 MB, free: 1.625 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.2457, allocations: 8.406 kB / 407.1 MB, free: 1.617 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.2457, allocations: 8 kB / 407.1 MB, free: 1.609 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.2457, allocations: 4 kB / 407.1 MB, free: 1.605 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001582/0.2459, allocations: 55.91 kB / 407.2 MB, free: 1.551 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/0.2459, allocations: 11.88 kB / 407.2 MB, free: 1.539 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001146/0.246, allocations: 27.69 kB / 407.2 MB, free: 1.512 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.555e-05/0.246, allocations: 12 kB / 407.3 MB, free: 1.5 MB / 318.1 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 0.0001068/0.2462, allocations: 129.8 kB / 407.4 MB, free: 1.363 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.359e-05/0.2462, allocations: 15.81 kB / 407.4 MB, free: 1.348 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.917e-05/0.2463, allocations: 24.92 kB / 407.4 MB, free: 1.316 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.2463, allocations: 4 kB / 407.4 MB, free: 1.312 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.2463, allocations: 3.938 kB / 407.4 MB, free: 1.309 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.2463, allocations: 4 kB / 407.4 MB, free: 1.305 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004137/0.2468, allocations: 241.4 kB / 407.7 MB, free: 1.02 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.2468, allocations: 0 / 407.7 MB, free: 1.02 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001445/0.2469, allocations: 31.98 kB / 407.7 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.638e-06/0.2469, allocations: 4 kB / 407.7 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.2469, allocations: 0 / 407.7 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.247, allocations: 7.938 kB / 407.7 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.247, allocations: 3.938 kB / 407.7 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003082/0.2473, allocations: 385.7 kB / 408.1 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.59e-05/0.2474, allocations: 93.11 kB / 408.2 MB, free: 480 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.878e-05/0.2474, allocations: 8 kB / 408.2 MB, free: 472 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/0.2475, allocations: 4 kB / 408.2 MB, free: 468 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.352e-05/0.2476, allocations: 12.06 kB / 408.2 MB, free: 456 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.2476, allocations: 8 kB / 408.2 MB, free: 448 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001118/0.2477, allocations: 149.5 kB / 408.4 MB, free: 300 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2477, allocations: 0 / 408.4 MB, free: 300 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003711/0.2481, allocations: 39.94 kB / 408.4 MB, free: 260 kB / 318.1 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.0006046/0.2487, allocations: 0.9242 MB / 409.3 MB, free: 15.3 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002238/0.2489, allocations: 111.8 kB / 409.4 MB, free: 15.19 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.2489, allocations: 0 / 409.4 MB, free: 15.19 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.901e-05/0.249, allocations: 39.92 kB / 409.5 MB, free: 15.15 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000511/0.2495, allocations: 28.89 kB / 409.5 MB, free: 15.12 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002642/0.2522, allocations: 2.625 MB / 412.1 MB, free: 12.32 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002946/0.2525, allocations: 0.7242 MB / 412.8 MB, free: 11.57 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.837e-05/0.2526, allocations: 21.94 kB / 412.9 MB, free: 11.55 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.983e-05/0.2527, allocations: 47.42 kB / 412.9 MB, free: 11.5 MB / 334.1 MB Notification: Performance of SimCode: time 3.7e-07/0.2527, allocations: 0 / 412.9 MB, free: 11.5 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02116/0.2738, allocations: 3.506 MB / 416.4 MB, free: 8.094 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.513/7.787, allocations: 9.625 kB / 416.4 MB, free: 8.09 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_SignConvention_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_SignConvention.fmu > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/SignConvention/SignConvention.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches