Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001599/0.001599, allocations: 77.7 kB / 21.25 MB, free: 0.5469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001902/0.001902, allocations: 161.3 kB / 24.5 MB, free: 3.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.424/1.424, allocations: 177.1 MB / 204.7 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous") translateModel(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 65.31 kB / 325.5 MB, free: 188 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1103, allocations: 53.38 MB / 378.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous): time 0.004101/0.1144, allocations: 1.869 MB / 380.8 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001064/0.1154, allocations: 454.8 kB / 381.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001299/0.1156, allocations: 0 / 381.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001254/0.1157, allocations: 19.8 kB / 381.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.65e-05/0.1158, allocations: 19.8 kB / 381.2 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001829/0.116, allocations: 39.94 kB / 381.3 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002133/0.1162, allocations: 103.6 kB / 381.4 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001471/0.1163, allocations: 33.52 kB / 381.4 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.816e-05/0.1164, allocations: 35.86 kB / 381.5 MB, free: 12.9 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.216e-05/0.1165, allocations: 47.77 kB / 381.5 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.513e-05/0.1165, allocations: 8 kB / 381.5 MB, free: 12.85 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.187e-05/0.1166, allocations: 8 kB / 381.5 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.846e-05/0.1166, allocations: 19.92 kB / 381.5 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.418e-05/0.1166, allocations: 39.8 kB / 381.6 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002061/0.1169, allocations: 91.62 kB / 381.7 MB, free: 12.69 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1169, allocations: 0 / 381.7 MB, free: 12.69 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.051e-06/0.1169, allocations: 4 kB / 381.7 MB, free: 12.69 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.1169, allocations: 0 / 381.7 MB, free: 12.69 MB / 350.1 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.0006322/0.1175, allocations: 334 kB / 382 MB, free: 12.33 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.1175, allocations: 19.97 kB / 382 MB, free: 12.31 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.754e-05/0.1176, allocations: 12.89 kB / 382 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002832/0.1179, allocations: 134.3 kB / 382.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.1179, allocations: 8.562 kB / 382.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.499e-05/0.1179, allocations: 16.33 kB / 382.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00031/0.1182, allocations: 123.3 kB / 382.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.1182, allocations: 0 / 382.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.1183, allocations: 0 / 382.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.1183, allocations: 4 kB / 382.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002465/0.1185, allocations: 75.88 kB / 382.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006923/0.1192, allocations: 427.7 kB / 382.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002211/0.1194, allocations: 82.48 kB / 382.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/0.1195, allocations: 36.83 kB / 382.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.49e-05/0.1196, allocations: 0 / 382.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/0.1196, allocations: 42.56 kB / 383 MB, free: 11.27 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 7.71e-07/0.1196, allocations: 0 / 383 MB, free: 11.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004296/0.12, allocations: 121.7 kB / 383.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.635e-05/0.1201, allocations: 51.41 kB / 383.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.1202, allocations: 129.8 kB / 383.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.872e-05/0.1202, allocations: 29.69 kB / 383.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.105e-05/0.1203, allocations: 115.9 kB / 383.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.283e-05/0.1203, allocations: 23.8 kB / 383.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.247e-05/0.1204, allocations: 37.66 kB / 383.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.1205, allocations: 322.8 kB / 383.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001157/0.1206, allocations: 35.97 kB / 383.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/0.1208, allocations: 63.89 kB / 383.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002444/0.121, allocations: 104.2 kB / 384 MB, free: 10.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.121, allocations: 7.938 kB / 384 MB, free: 10.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003085/0.1213, allocations: 137.4 kB / 384.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.1213, allocations: 8 kB / 384.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.1213, allocations: 0 / 384.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.1214, allocations: 0 / 384.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001703/0.1215, allocations: 36.05 kB / 384.2 MB, free: 9.984 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.1215, allocations: 4 kB / 384.2 MB, free: 9.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.906e-05/0.1216, allocations: 19.86 kB / 384.2 MB, free: 9.961 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.1216, allocations: 8 kB / 384.2 MB, free: 9.953 MB / 350.1 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 0.0001063/0.1217, allocations: 121.8 kB / 384.3 MB, free: 9.824 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.529e-05/0.1218, allocations: 7.953 kB / 384.3 MB, free: 9.816 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.421e-05/0.1218, allocations: 8.438 kB / 384.3 MB, free: 9.809 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.1218, allocations: 0 / 384.3 MB, free: 9.809 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.371e-05/0.1218, allocations: 7.984 kB / 384.3 MB, free: 9.801 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.1218, allocations: 0 / 384.3 MB, free: 9.801 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001921/0.122, allocations: 149.1 kB / 384.5 MB, free: 9.625 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.122, allocations: 0 / 384.5 MB, free: 9.625 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001503/0.1222, allocations: 23.98 kB / 384.5 MB, free: 9.602 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.1222, allocations: 0 / 384.5 MB, free: 9.602 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.1222, allocations: 0 / 384.5 MB, free: 9.602 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.618e-06/0.1222, allocations: 4 kB / 384.5 MB, free: 9.598 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1222, allocations: 0 / 384.5 MB, free: 9.598 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004331/0.1226, allocations: 227.4 kB / 384.7 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.184e-05/0.1226, allocations: 15.89 kB / 384.7 MB, free: 9.344 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.669e-05/0.1226, allocations: 0 / 384.7 MB, free: 9.344 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.254e-05/0.1227, allocations: 12.03 kB / 384.7 MB, free: 9.332 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.029e-05/0.1228, allocations: 7.922 kB / 384.8 MB, free: 9.324 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.1228, allocations: 4 kB / 384.8 MB, free: 9.32 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.936e-05/0.1229, allocations: 101.9 kB / 384.9 MB, free: 9.223 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1229, allocations: 0 / 384.9 MB, free: 9.223 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002426/0.1231, allocations: 16 kB / 384.9 MB, free: 9.207 MB / 350.1 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 0.0001051/0.1232, allocations: 99.25 kB / 385 MB, free: 9.102 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000292/0.1235, allocations: 79.88 kB / 385 MB, free: 9.023 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1235, allocations: 0 / 385 MB, free: 9.023 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001067/0.1236, allocations: 31.92 kB / 385.1 MB, free: 8.992 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003442/0.1239, allocations: 31.11 kB / 385.1 MB, free: 8.965 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008075/0.1248, allocations: 361 kB / 385.5 MB, free: 8.582 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001086/0.1249, allocations: 88.31 kB / 385.5 MB, free: 8.477 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.943e-05/0.1249, allocations: 12.42 kB / 385.6 MB, free: 8.465 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.932e-05/0.125, allocations: 12.5 kB / 385.6 MB, free: 8.453 MB / 350.1 MB Notification: Performance of SimCode: time 6.81e-07/0.125, allocations: 0 / 385.6 MB, free: 8.453 MB / 350.1 MB Notification: Performance of Templates: time 0.004634/0.1296, allocations: 1.035 MB / 386.6 MB, free: 7.438 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.sim & ./Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/SimpleControlledDrive/Continuous/Continuous.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.39417207299266]