Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.Continuous.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.Examples.SimpleControlledDrive.Continuous,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="PI.y|Time|speed.w",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.Continuous") translateModel(Modelica_Synchronous.Examples.SimpleControlledDrive.Continuous,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="PI.y|Time|speed.w",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.Continuous") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007331/0.0007332, allocations: 92.73 kB / 16.04 MB, free: 5.742 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07259/0.07259, allocations: 12.62 MB / 29.4 MB, free: 6.086 MB / 24.77 MB Notification: Performance of FrontEnd - loaded program: time 0.0001541/0.0001541, allocations: 4 kB / 40.27 MB, free: 0.6172 MB / 24.77 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.004472/0.004639, allocations: 2.824 MB / 43.1 MB, free: 6.066 MB / 33.03 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.SimpleControlledDrive.Continuous): time 1.402/1.406, allocations: 277.8 MB / 320.9 MB, free: 10.39 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005752/1.407, allocations: 422.2 kB / 321.3 MB, free: 9.973 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.938e-05/1.407, allocations: 0.7188 kB / 321.3 MB, free: 9.973 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.823e-05/1.407, allocations: 11.94 kB / 321.4 MB, free: 9.961 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.362e-05/1.407, allocations: 20.72 kB / 321.4 MB, free: 9.941 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001254/1.407, allocations: 32.73 kB / 321.4 MB, free: 9.91 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001336/1.407, allocations: 95.59 kB / 321.5 MB, free: 9.816 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001373/1.407, allocations: 56.31 kB / 321.6 MB, free: 9.762 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.554e-05/1.408, allocations: 27.86 kB / 321.6 MB, free: 9.734 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.031e-05/1.408, allocations: 39.83 kB / 321.6 MB, free: 9.695 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.89e-05/1.408, allocations: 4 kB / 321.6 MB, free: 9.691 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.501e-05/1.408, allocations: 4 kB / 321.6 MB, free: 9.688 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.23e-05/1.408, allocations: 11.94 kB / 321.6 MB, free: 9.676 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.422e-05/1.408, allocations: 69.44 kB / 321.7 MB, free: 9.602 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001076/1.408, allocations: 93.5 kB / 321.8 MB, free: 9.512 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/1.408, allocations: 0 / 321.8 MB, free: 9.512 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.432e-06/1.408, allocations: 0 / 321.8 MB, free: 9.512 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.057e-06/1.408, allocations: 0 / 321.8 MB, free: 9.512 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0004768/1.408, allocations: 397.8 kB / 322.2 MB, free: 9.078 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/1.408, allocations: 12.03 kB / 322.2 MB, free: 9.066 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.1e-05/1.408, allocations: 8.844 kB / 322.2 MB, free: 9.059 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001737/1.409, allocations: 194.7 kB / 322.4 MB, free: 8.832 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/1.409, allocations: 12.5 kB / 322.4 MB, free: 8.82 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.165e-05/1.409, allocations: 16.28 kB / 322.4 MB, free: 8.805 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002556/1.409, allocations: 129.8 kB / 322.6 MB, free: 8.668 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/1.409, allocations: 0 / 322.6 MB, free: 8.668 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/1.409, allocations: 8.656 kB / 322.6 MB, free: 8.66 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/1.409, allocations: 0.8438 kB / 322.6 MB, free: 8.66 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002156/1.409, allocations: 79.88 kB / 322.6 MB, free: 8.586 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000606/1.41, allocations: 0.5235 MB / 323.2 MB, free: 7.996 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001758/1.41, allocations: 85.48 kB / 323.3 MB, free: 7.906 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/1.41, allocations: 45.61 kB / 323.3 MB, free: 7.859 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.138e-05/1.41, allocations: 1.625 kB / 323.3 MB, free: 7.859 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.269e-05/1.41, allocations: 38.56 kB / 323.3 MB, free: 7.812 MB / 250.7 MB Notification: Performance of pre-optimization done (n=7): time 2.134e-06/1.41, allocations: 0 / 323.3 MB, free: 7.812 MB / 250.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003619/1.411, allocations: 153.8 kB / 323.5 MB, free: 7.66 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.063e-05/1.411, allocations: 51.41 kB / 323.5 MB, free: 7.598 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.344e-05/1.411, allocations: 129.8 kB / 323.7 MB, free: 7.461 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/1.411, allocations: 27.64 kB / 323.7 MB, free: 7.43 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.079e-05/1.411, allocations: 115.8 kB / 323.8 MB, free: 7.312 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.043e-05/1.411, allocations: 23.66 kB / 323.8 MB, free: 7.289 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-06/1.411, allocations: 0 / 323.8 MB, free: 7.289 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.102e-05/1.411, allocations: 329.9 kB / 324.2 MB, free: 6.961 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/1.411, allocations: 35.97 kB / 324.2 MB, free: 6.926 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001148/1.411, allocations: 73.61 kB / 324.3 MB, free: 6.84 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000203/1.411, allocations: 112.2 kB / 324.4 MB, free: 6.719 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/1.411, allocations: 0.875 kB / 324.4 MB, free: 6.719 MB / 250.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002682/1.412, allocations: 147 kB / 324.5 MB, free: 6.57 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/1.412, allocations: 8.094 kB / 324.5 MB, free: 6.562 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/1.412, allocations: 3.938 kB / 324.5 MB, free: 6.559 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/1.412, allocations: 0 / 324.5 MB, free: 6.559 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001483/1.412, allocations: 39.97 kB / 324.6 MB, free: 6.52 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/1.412, allocations: 4 kB / 324.6 MB, free: 6.516 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.377e-05/1.412, allocations: 15.89 kB / 324.6 MB, free: 6.5 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.924e-06/1.412, allocations: 8.094 kB / 324.6 MB, free: 6.492 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (13): * Single equations (assignments): 13 * 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 7.564e-05/1.412, allocations: 133.6 kB / 324.7 MB, free: 6.352 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.51e-05/1.412, allocations: 7.906 kB / 324.7 MB, free: 6.344 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.6e-05/1.412, allocations: 8.375 kB / 324.7 MB, free: 6.336 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/1.412, allocations: 0 / 324.7 MB, free: 6.336 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/1.412, allocations: 4 kB / 324.7 MB, free: 6.332 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/1.412, allocations: 0 / 324.7 MB, free: 6.332 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001634/1.412, allocations: 197.6 kB / 324.9 MB, free: 6.09 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/1.412, allocations: 0 / 324.9 MB, free: 6.09 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001241/1.412, allocations: 23.98 kB / 325 MB, free: 6.066 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/1.412, allocations: 4 kB / 325 MB, free: 6.062 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.096e-06/1.412, allocations: 0 / 325 MB, free: 6.062 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/1.412, allocations: 0 / 325 MB, free: 6.062 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/1.412, allocations: 0 / 325 MB, free: 6.062 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003584/1.413, allocations: 267.2 kB / 325.2 MB, free: 5.785 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.487e-05/1.413, allocations: 81.02 kB / 325.3 MB, free: 5.688 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.883e-05/1.413, allocations: 4 kB / 325.3 MB, free: 5.684 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.5e-05/1.413, allocations: 11.97 kB / 325.3 MB, free: 5.672 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.404e-05/1.413, allocations: 8 kB / 325.3 MB, free: 5.664 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/1.413, allocations: 0 / 325.3 MB, free: 5.664 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.865e-05/1.413, allocations: 99.83 kB / 325.4 MB, free: 5.566 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.2e-07/1.413, allocations: 0 / 325.4 MB, free: 5.566 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002042/1.413, allocations: 23.94 kB / 325.4 MB, free: 5.543 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (load.phi,load.w,PI.x) * 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 7.285e-05/1.413, allocations: 103.2 kB / 325.5 MB, free: 5.434 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003029/1.414, allocations: 87.89 kB / 325.6 MB, free: 5.348 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/1.414, allocations: 0 / 325.6 MB, free: 5.348 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001055/1.414, allocations: 43.91 kB / 325.7 MB, free: 5.305 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003/1.414, allocations: 28.52 kB / 325.7 MB, free: 5.277 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005848/1.415, allocations: 447.2 kB / 326.1 MB, free: 4.809 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001975/1.415, allocations: 0.7004 MB / 326.8 MB, free: 4.082 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.114e-05/1.415, allocations: 8.609 kB / 326.8 MB, free: 4.074 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.724e-05/1.415, allocations: 15.44 kB / 326.9 MB, free: 4.059 MB / 250.7 MB Notification: Performance of SimCode: time 2.4e-07/1.415, allocations: 3.938 kB / 326.9 MB, free: 4.055 MB / 250.7 MB Notification: Performance of Templates: time 0.002537/1.418, allocations: 0.8831 MB / 327.7 MB, free: 3.18 MB / 250.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.Continuous.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.Continuous.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.Continuous.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.Continuous.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.Continuous.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.Continuous -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.Continuous.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.Continuous_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.SimpleControlledDrive.Continuous.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.Continuous.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches