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.001439/0.001439, allocations: 112.8 kB / 19.17 MB, free: 3.871 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.001761/0.001761, allocations: 210.5 kB / 22.13 MB, free: 0.918 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.416/1.416, allocations: 230.2 MB / 255.2 MB, free: 15.23 MB / 206.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.002144/0.002144, allocations: 63.89 kB / 374.5 MB, free: 9.922 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1025, allocations: 53.32 MB / 427.8 MB, free: 4.504 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous): time 0.00318/0.1057, allocations: 1.885 MB / 429.7 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008503/0.1066, allocations: 490.8 kB / 430.2 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.266e-05/0.1066, allocations: 8 kB / 430.2 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001006/0.1067, allocations: 15.8 kB / 430.2 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.574e-05/0.1068, allocations: 31.72 kB / 430.2 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001355/0.1069, allocations: 31.95 kB / 430.3 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001684/0.1071, allocations: 107.6 kB / 430.4 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.1072, allocations: 25.39 kB / 430.4 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.388e-05/0.1073, allocations: 39.86 kB / 430.4 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.39e-05/0.1074, allocations: 47.77 kB / 430.5 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.201e-05/0.1074, allocations: 8 kB / 430.5 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.976e-05/0.1074, allocations: 12 kB / 430.5 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.89e-05/0.1075, allocations: 19.92 kB / 430.5 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.874e-05/0.1075, allocations: 47.67 kB / 430.6 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001757/0.1077, allocations: 107.5 kB / 430.7 MB, free: 1.629 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1077, allocations: 0 / 430.7 MB, free: 1.629 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.093e-06/0.1077, allocations: 0 / 430.7 MB, free: 1.629 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.668e-06/0.1077, allocations: 0 / 430.7 MB, free: 1.629 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.0005721/0.1083, allocations: 403.2 kB / 431.1 MB, free: 1.188 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.1083, allocations: 12.03 kB / 431.1 MB, free: 1.176 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.647e-05/0.1084, allocations: 16.89 kB / 431.1 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002453/0.1086, allocations: 200.1 kB / 431.3 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.1086, allocations: 4.562 kB / 431.3 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.574e-05/0.1087, allocations: 12.38 kB / 431.3 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002835/0.1089, allocations: 126 kB / 431.4 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.109, allocations: 4 kB / 431.4 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.109, allocations: 8 kB / 431.4 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.109, allocations: 0 / 431.4 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002385/0.1092, allocations: 74.62 kB / 431.5 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006936/0.1099, allocations: 0.5208 MB / 432 MB, free: 112 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002098/0.1101, allocations: 74.61 kB / 432.1 MB, free: 28 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001379/0.1103, allocations: 44.88 kB / 432.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.608e-05/0.1103, allocations: 3.938 kB / 432.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/0.1103, allocations: 30.56 kB / 432.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.1103, allocations: 0 / 432.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004211/0.1107, allocations: 133.8 kB / 432.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.615e-05/0.1108, allocations: 51.41 kB / 432.4 MB, free: 15.74 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.1109, allocations: 135.6 kB / 432.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.1109, allocations: 25.7 kB / 432.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.05e-05/0.111, allocations: 108 kB / 432.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.682e-05/0.111, allocations: 27.75 kB / 432.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.159e-05/0.111, allocations: 33.7 kB / 432.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.1112, allocations: 322.8 kB / 433 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001145/0.1113, allocations: 35.92 kB / 433 MB, free: 15.03 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001296/0.1114, allocations: 64.2 kB / 433.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000247/0.1117, allocations: 108.1 kB / 433.2 MB, free: 14.83 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1117, allocations: 0 / 433.2 MB, free: 14.83 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000306/0.112, allocations: 141.5 kB / 433.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.112, allocations: 4 kB / 433.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.112, allocations: 4 kB / 433.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.112, allocations: 0 / 433.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000168/0.1122, allocations: 31.92 kB / 433.4 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.1122, allocations: 4 kB / 433.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.74e-05/0.1123, allocations: 15.94 kB / 433.4 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.1123, allocations: 4 kB / 433.4 MB, free: 14.62 MB / 366.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 9.856e-05/0.1124, allocations: 125.8 kB / 433.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.07e-05/0.1124, allocations: 7.953 kB / 433.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.728e-05/0.1124, allocations: 20.36 kB / 433.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1124, allocations: 0 / 433.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.1124, allocations: 0 / 433.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.1124, allocations: 0 / 433.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002252/0.1127, allocations: 205.5 kB / 433.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1127, allocations: 0 / 433.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001435/0.1128, allocations: 23.92 kB / 433.8 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/0.1128, allocations: 8 kB / 433.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.1128, allocations: 0 / 433.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/0.1128, allocations: 4 kB / 433.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1128, allocations: 0 / 433.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004237/0.1133, allocations: 231.3 kB / 434 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.305e-05/0.1133, allocations: 85.06 kB / 434.1 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.814e-05/0.1133, allocations: 8.094 kB / 434.1 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.726e-05/0.1134, allocations: 11.97 kB / 434.1 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.552e-05/0.1135, allocations: 7.984 kB / 434.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.1135, allocations: 0 / 434.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.912e-05/0.1135, allocations: 101.2 kB / 434.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1135, allocations: 3.938 kB / 434.2 MB, free: 13.7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002453/0.1138, allocations: 19.94 kB / 434.2 MB, free: 13.68 MB / 366.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 9.798e-05/0.1139, allocations: 99.25 kB / 434.3 MB, free: 13.58 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002798/0.1142, allocations: 75.89 kB / 434.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1142, allocations: 3.938 kB / 434.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001132/0.1143, allocations: 35.97 kB / 434.5 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003235/0.1146, allocations: 23.92 kB / 434.5 MB, free: 13.44 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000705/0.1153, allocations: 381.6 kB / 434.9 MB, free: 13.03 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003226/0.1156, allocations: 0.7002 MB / 435.6 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.935e-05/0.1157, allocations: 11.44 kB / 435.6 MB, free: 12.3 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1157, allocations: 0 / 435.6 MB, free: 12.3 MB / 366.1 MB Notification: Performance of Templates: time 0.003017/0.1187, allocations: 1.28 MB / 436.8 MB, free: 11.02 MB / 366.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 -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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/SimpleControlledDrive/Continuous/Continuous.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 7.304363070987165]