Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.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.ClockedWith_AD_DA_Effects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="PI.y|Time|speed.w",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects") translateModel(Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="PI.y|Time|speed.w",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008153/0.0008154, allocations: 93.91 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.07172/0.07172, allocations: 12.63 MB / 29.4 MB, free: 6.09 MB / 24.77 MB Notification: Performance of FrontEnd - loaded program: time 0.0001507/0.0001508, allocations: 4 kB / 40.27 MB, free: 0.6289 MB / 24.77 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.004608/0.004772, allocations: 2.835 MB / 43.1 MB, free: 6.07 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.ClockedWith_AD_DA_Effects): time 1.371/1.376, allocations: 278.5 MB / 321.6 MB, free: 9.684 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0013/1.377, allocations: 1.083 MB / 322.7 MB, free: 8.547 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001383/1.378, allocations: 10.19 kB / 322.7 MB, free: 8.539 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001469/1.378, allocations: 43.64 kB / 322.8 MB, free: 8.496 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001901/1.378, allocations: 47.62 kB / 322.8 MB, free: 8.449 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005256/1.379, allocations: 209.4 kB / 323 MB, free: 8.246 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003112/1.379, allocations: 350.9 kB / 323.4 MB, free: 7.902 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000323/1.379, allocations: 249 kB / 323.6 MB, free: 7.668 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001143/1.379, allocations: 95.45 kB / 323.7 MB, free: 7.574 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001346/1.379, allocations: 115.2 kB / 323.8 MB, free: 7.461 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.149e-05/1.379, allocations: 13.31 kB / 323.8 MB, free: 7.449 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.629e-05/1.38, allocations: 43.91 kB / 323.9 MB, free: 7.406 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.754e-05/1.38, allocations: 59.75 kB / 323.9 MB, free: 7.348 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001223/1.38, allocations: 153.4 kB / 324.1 MB, free: 7.191 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003171/1.38, allocations: 374.5 kB / 324.5 MB, free: 6.824 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/1.38, allocations: 1.031 kB / 324.5 MB, free: 6.824 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.262e-06/1.38, allocations: 0 / 324.5 MB, free: 6.824 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.237e-06/1.38, allocations: 0.75 kB / 324.5 MB, free: 6.824 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.0008329/1.381, allocations: 0.5851 MB / 325 MB, free: 6.195 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/1.381, allocations: 8.031 kB / 325.1 MB, free: 6.188 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.356e-05/1.381, allocations: 40.47 kB / 325.1 MB, free: 6.148 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003521/1.381, allocations: 324.7 kB / 325.4 MB, free: 5.793 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.29e-05/1.382, allocations: 21.97 kB / 325.4 MB, free: 5.773 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.454e-05/1.382, allocations: 32.28 kB / 325.5 MB, free: 5.742 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001258/1.383, allocations: 0.778 MB / 326.2 MB, free: 4.945 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/1.383, allocations: 0 / 326.2 MB, free: 4.945 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.614e-05/1.383, allocations: 12 kB / 326.3 MB, free: 4.934 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/1.383, allocations: 4 kB / 326.3 MB, free: 4.93 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005225/1.383, allocations: 247.4 kB / 326.5 MB, free: 4.691 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007158/1.384, allocations: 0.7877 MB / 327.3 MB, free: 3.828 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009595/1.385, allocations: 0.6541 MB / 327.9 MB, free: 3.098 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004188/1.386, allocations: 275.1 kB / 328.2 MB, free: 2.816 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005862/1.386, allocations: 0.5934 MB / 328.8 MB, free: 2.094 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/1.386, allocations: 34.56 kB / 328.8 MB, free: 2.051 MB / 250.7 MB Notification: Performance of pre-optimization done (n=52): time 1.713e-06/1.386, allocations: 4 kB / 328.8 MB, free: 2.047 MB / 250.7 MB Notification: Performance of matching and sorting (n=52): time 0.001153/1.387, allocations: 0.5639 MB / 329.4 MB, free: 1.477 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001296/1.387, allocations: 208 kB / 329.6 MB, free: 1.23 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002433/1.388, allocations: 254.5 kB / 329.9 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.659e-05/1.388, allocations: 37.7 kB / 329.9 MB, free: 0.9297 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.598e-05/1.388, allocations: 152.8 kB / 330 MB, free: 0.7734 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.429e-05/1.388, allocations: 47.53 kB / 330.1 MB, free: 0.7266 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.409e-05/1.388, allocations: 12 kB / 330.1 MB, free: 0.7148 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001312/1.388, allocations: 346.8 kB / 330.4 MB, free: 376 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001737/1.388, allocations: 89.06 kB / 330.5 MB, free: 288 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003678/1.389, allocations: 439 kB / 331 MB, free: 15.68 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005336/1.389, allocations: 0.532 MB / 331.5 MB, free: 14.99 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/1.389, allocations: 4 kB / 331.5 MB, free: 14.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0006978/1.39, allocations: 0.5013 MB / 332 MB, free: 14.48 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/1.39, allocations: 12 kB / 332 MB, free: 14.46 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/1.39, allocations: 12 kB / 332 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.465e-05/1.39, allocations: 16 kB / 332 MB, free: 14.44 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003212/1.39, allocations: 123.8 kB / 332.1 MB, free: 14.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.899e-05/1.39, allocations: 19.94 kB / 332.2 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002385/1.391, allocations: 47.8 kB / 332.2 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.922e-05/1.391, allocations: 36 kB / 332.3 MB, free: 14.21 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 6 (sample1.noise.seedState[3],$CLKPRE.sample1.noise.seedState[3],sample1.noise.seedState[2],$CLKPRE.sample1.noise.seedState[2],sample1.noise.seedState[1],$CLKPRE.sample1.noise.seedState[1]) * Number of discrete states: 0 () * Number of clocked states: 4 (PI.x,sample1.noise.seedState[3],sample1.noise.seedState[2],sample1.noise.seedState[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 61 * 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.0001826/1.391, allocations: 193.9 kB / 332.4 MB, free: 14.01 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005867/1.391, allocations: 369.8 kB / 332.8 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006254/1.392, allocations: 364.8 kB / 333.2 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.882e-05/1.392, allocations: 8 kB / 333.2 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/1.392, allocations: 3.938 kB / 333.2 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.503e-06/1.392, allocations: 3.984 kB / 333.2 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003447/1.392, allocations: 345 kB / 333.5 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.072e-06/1.392, allocations: 0 / 333.5 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003727/1.393, allocations: 119.8 kB / 333.6 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/1.393, allocations: 4 kB / 333.6 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.328e-05/1.393, allocations: 8 kB / 333.6 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.848e-06/1.393, allocations: 4 kB / 333.6 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/1.393, allocations: 0 / 333.6 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001156/1.394, allocations: 0.8138 MB / 334.5 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.592e-05/1.394, allocations: 120.6 kB / 334.6 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.704e-05/1.394, allocations: 16 kB / 334.6 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002346/1.394, allocations: 35.92 kB / 334.6 MB, free: 11.72 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.275e-05/1.395, allocations: 7.984 kB / 334.6 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.62e-05/1.395, allocations: 12 kB / 334.6 MB, free: 11.7 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001535/1.395, allocations: 182 kB / 334.8 MB, free: 11.52 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.51e-07/1.395, allocations: 4 kB / 334.8 MB, free: 11.52 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004254/1.395, allocations: 76 kB / 334.9 MB, free: 11.45 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (load.phi,load.w) * Number of discrete variables: 3 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3]) * Number of discrete states: 0 () * Number of clocked states: 4 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3],PI.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.000159/1.395, allocations: 123.7 kB / 335 MB, free: 11.32 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006428/1.396, allocations: 369.4 kB / 335.4 MB, free: 10.96 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/1.396, allocations: 0 / 335.4 MB, free: 10.96 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.497e-05/1.396, allocations: 39.91 kB / 335.4 MB, free: 10.92 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008924/1.397, allocations: 307.4 kB / 335.7 MB, free: 10.62 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001281/1.398, allocations: 0.9262 MB / 336.6 MB, free: 9.656 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003248/1.399, allocations: 0.8161 MB / 337.5 MB, free: 8.816 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001031/1.399, allocations: 35.28 kB / 337.5 MB, free: 8.777 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.166e-05/1.399, allocations: 31.44 kB / 337.5 MB, free: 8.746 MB / 266.7 MB Notification: Performance of SimCode: time 2.21e-07/1.399, allocations: 0 / 337.5 MB, free: 8.746 MB / 266.7 MB Notification: Performance of Templates: time 0.007284/1.406, allocations: 4.242 MB / 341.8 MB, free: 4.543 MB / 266.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches