Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_SimpleControlledDrive_ClockedWithDiscretizedContinuousController",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_SimpleControlledDrive_ClockedWithDiscretizedContinuousController",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009325/0.0009325, allocations: 177.1 kB / 16.11 MB, free: 5.695 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.166/1.166, allocations: 205 MB / 221.9 MB, free: 9.148 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006608/0.0006608, allocations: 94.28 kB / 269.9 MB, free: 8.672 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.05858/0.05858, allocations: 12.56 MB / 330.3 MB, free: 12.08 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000376/0.0003761, allocations: 8 kB / 391.2 MB, free: 66.34 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06178/0.06217, allocations: 49.98 MB / 441.1 MB, free: 16.3 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController): time 0.001585/0.0638, allocations: 1.765 MB / 442.9 MB, free: 14.52 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005538/0.06436, allocations: 0.5308 MB / 443.4 MB, free: 13.98 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.869e-05/0.06446, allocations: 8 kB / 443.4 MB, free: 13.98 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.683e-05/0.06456, allocations: 15.86 kB / 443.5 MB, free: 13.96 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.113e-05/0.06462, allocations: 15.84 kB / 443.5 MB, free: 13.95 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002079/0.06484, allocations: 51.88 kB / 443.5 MB, free: 13.89 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001177/0.06496, allocations: 123.6 kB / 443.6 MB, free: 13.77 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.06507, allocations: 57.67 kB / 443.7 MB, free: 13.71 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.091e-05/0.06513, allocations: 43.73 kB / 443.7 MB, free: 13.67 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.231e-05/0.06519, allocations: 51.7 kB / 443.8 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.703e-05/0.06521, allocations: 4 kB / 443.8 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.46e-05/0.06523, allocations: 7.938 kB / 443.8 MB, free: 13.61 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.301e-05/0.06527, allocations: 15.92 kB / 443.8 MB, free: 13.59 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.061e-05/0.06532, allocations: 47.69 kB / 443.9 MB, free: 13.55 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.67e-05/0.06542, allocations: 119.5 kB / 444 MB, free: 13.43 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.06543, allocations: 0 / 444 MB, free: 13.43 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.06544, allocations: 4 kB / 444 MB, free: 13.43 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.206e-06/0.06544, allocations: 0 / 444 MB, free: 13.43 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0003806/0.06583, allocations: 419 kB / 444.4 MB, free: 12.97 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.005e-05/0.06587, allocations: 8.031 kB / 444.4 MB, free: 12.96 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.753e-05/0.0659, allocations: 42.73 kB / 444.4 MB, free: 12.91 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.913e-05/0.06594, allocations: 20.75 kB / 444.5 MB, free: 12.89 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.06607, allocations: 212 kB / 444.7 MB, free: 12.64 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-06/0.06609, allocations: 12.38 kB / 444.7 MB, free: 12.63 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.34e-05/0.06611, allocations: 12.38 kB / 444.7 MB, free: 12.62 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003566/0.06648, allocations: 234.7 kB / 444.9 MB, free: 12.37 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.0665, allocations: 0 / 444.9 MB, free: 12.37 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.06652, allocations: 0 / 444.9 MB, free: 12.37 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.06653, allocations: 4 kB / 444.9 MB, free: 12.36 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002105/0.06674, allocations: 99.88 kB / 445 MB, free: 12.27 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004263/0.06718, allocations: 0.6076 MB / 445.6 MB, free: 11.58 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002553/0.06744, allocations: 147.9 kB / 445.8 MB, free: 11.41 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001234/0.06758, allocations: 86.56 kB / 445.9 MB, free: 11.32 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.06761, allocations: 3.938 kB / 445.9 MB, free: 11.31 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.182e-05/0.06763, allocations: 38.56 kB / 445.9 MB, free: 11.27 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.803e-06/0.06763, allocations: 4 kB / 445.9 MB, free: 11.26 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.000409/0.06805, allocations: 189.3 kB / 446.1 MB, free: 11.07 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.766e-05/0.0681, allocations: 115.3 kB / 446.2 MB, free: 10.93 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.34e-05/0.06816, allocations: 138.1 kB / 446.3 MB, free: 10.79 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.097e-06/0.06818, allocations: 29.7 kB / 446.4 MB, free: 10.75 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.359e-05/0.06822, allocations: 115.9 kB / 446.5 MB, free: 10.63 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.649e-05/0.06824, allocations: 31.58 kB / 446.5 MB, free: 10.6 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.28e-05/0.06827, allocations: 21.72 kB / 446.5 MB, free: 10.57 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.554e-05/0.06831, allocations: 322.8 kB / 446.8 MB, free: 10.25 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001023/0.06842, allocations: 47.97 kB / 446.9 MB, free: 10.2 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001209/0.06855, allocations: 141.6 kB / 447 MB, free: 10.02 MB / 298.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: PI.y = PI.y_start (0.0 = PI.y_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.0003263/0.06888, allocations: 290.7 kB / 447.3 MB, free: 9.664 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.06889, allocations: 4 kB / 447.3 MB, free: 9.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003079/0.06921, allocations: 213.5 kB / 447.5 MB, free: 9.445 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.023e-05/0.06923, allocations: 4 kB / 447.5 MB, free: 9.441 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.06924, allocations: 7.984 kB / 447.5 MB, free: 9.434 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.06926, allocations: 8 kB / 447.6 MB, free: 9.426 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/0.0694, allocations: 47.91 kB / 447.6 MB, free: 9.379 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.06942, allocations: 4 kB / 447.6 MB, free: 9.375 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.691e-05/0.06952, allocations: 32.11 kB / 447.6 MB, free: 9.344 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-06/0.06953, allocations: 8 kB / 447.6 MB, free: 9.336 MB / 298.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: PI.y = PI.y_start. 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: 1 (PI.x) * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.017e-05/0.06961, allocations: 134.6 kB / 447.8 MB, free: 9.195 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001256/0.06974, allocations: 89.53 kB / 447.9 MB, free: 9.102 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.142e-05/0.06978, allocations: 16.7 kB / 447.9 MB, free: 9.086 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.06979, allocations: 4 kB / 447.9 MB, free: 9.082 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.0698, allocations: 0 / 447.9 MB, free: 9.082 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.06981, allocations: 4 kB / 447.9 MB, free: 9.078 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001789/0.06999, allocations: 213.4 kB / 448.1 MB, free: 8.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.07, allocations: 0 / 448.1 MB, free: 8.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001896/0.07019, allocations: 55.89 kB / 448.1 MB, free: 8.766 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.07021, allocations: 0 / 448.1 MB, free: 8.766 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.07022, allocations: 4 kB / 448.1 MB, free: 8.762 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.07023, allocations: 0 / 448.1 MB, free: 8.762 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.07023, allocations: 3.938 kB / 448.2 MB, free: 8.758 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004006/0.07064, allocations: 407.2 kB / 448.6 MB, free: 8.34 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.169e-05/0.07067, allocations: 89.11 kB / 448.6 MB, free: 8.234 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.057e-05/0.0707, allocations: 4 kB / 448.6 MB, free: 8.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001282/0.07083, allocations: 11.98 kB / 448.7 MB, free: 8.219 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.91e-05/0.07087, allocations: 7.938 kB / 448.7 MB, free: 8.211 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-06/0.07088, allocations: 8 kB / 448.7 MB, free: 8.203 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.62e-05/0.07092, allocations: 99.34 kB / 448.8 MB, free: 8.105 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.07093, allocations: 3.938 kB / 448.8 MB, free: 8.102 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002834/0.07122, allocations: 32 kB / 448.8 MB, free: 8.07 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (load.phi,load.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (PI.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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.0005064/0.07173, allocations: 0.9271 MB / 449.7 MB, free: 7.109 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002707/0.07201, allocations: 132.6 kB / 449.9 MB, free: 6.98 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.07202, allocations: 4 kB / 449.9 MB, free: 6.977 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.708e-05/0.07211, allocations: 31.97 kB / 449.9 MB, free: 6.945 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004268/0.07255, allocations: 68.12 kB / 450 MB, free: 6.879 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001697/0.07426, allocations: 2.163 MB / 452.1 MB, free: 4.535 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001036/0.07437, allocations: 0.7165 MB / 452.8 MB, free: 3.793 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.26e-05/0.07442, allocations: 13.08 kB / 452.9 MB, free: 3.781 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.186e-05/0.07448, allocations: 35.42 kB / 452.9 MB, free: 3.746 MB / 298.7 MB Notification: Performance of SimCode: time 2.1e-07/0.07449, allocations: 0 / 452.9 MB, free: 3.746 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1661/0.2406, allocations: 2.665 MB / 455.6 MB, free: 1.074 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001357/0.2408, allocations: 268.4 kB / 455.8 MB, free: 0.707 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.003/2.244, allocations: 7.875 kB / 455.8 MB, free: 0.6992 MB / 298.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_SimpleControlledDrive_ClockedWithDiscretizedContinuousController_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_SimpleControlledDrive_ClockedWithDiscretizedContinuousController.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches