Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain") translateModel(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001123/0.001123, allocations: 114.9 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001112/0.001112, allocations: 214.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.304/1.304, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2028/0.2028, allocations: 46.1 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 71.88 kB / 482 MB, free: 4.094 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2978/0.2992, allocations: 62.43 MB / 0.5316 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain): time 0.003208/0.3024, allocations: 1.927 MB / 0.5335 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001054/0.3035, allocations: 0.5592 MB / 0.5341 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001339/0.3037, allocations: 3.188 kB / 0.5341 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001359/0.3038, allocations: 17.67 kB / 0.5341 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001327/0.304, allocations: 47.78 kB / 0.5341 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002561/0.3042, allocations: 44.7 kB / 0.5342 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000215/0.3045, allocations: 150.7 kB / 0.5343 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001631/0.3046, allocations: 67.58 kB / 0.5344 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001982/0.3048, allocations: 67.27 kB / 0.5344 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001303/0.305, allocations: 62.95 kB / 0.5345 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.672e-05/0.305, allocations: 12.38 kB / 0.5345 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.92e-05/0.3051, allocations: 13.75 kB / 0.5345 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.804e-05/0.3051, allocations: 27.98 kB / 0.5346 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.849e-05/0.3052, allocations: 77.61 kB / 0.5346 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003008/0.3055, allocations: 159.8 kB / 0.5348 GB, free: 11.16 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.3055, allocations: 0 / 0.5348 GB, free: 11.16 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3055, allocations: 0 / 0.5348 GB, free: 11.16 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.037e-05/0.3056, allocations: 0 / 0.5348 GB, free: 11.16 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0006564/0.3062, allocations: 435.1 kB / 0.5352 GB, free: 10.74 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.3063, allocations: 8.25 kB / 0.5352 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001693/0.3064, allocations: 22.58 kB / 0.5352 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002736/0.3067, allocations: 217.7 kB / 0.5354 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.3067, allocations: 9.875 kB / 0.5354 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.304e-05/0.3068, allocations: 12.62 kB / 0.5355 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002761/0.3071, allocations: 127.1 kB / 0.5356 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/0.3071, allocations: 1.375 kB / 0.5356 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.731e-05/0.3071, allocations: 5.375 kB / 0.5356 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.3071, allocations: 2.75 kB / 0.5356 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001938/0.3073, allocations: 83.89 kB / 0.5357 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007726/0.3081, allocations: 465.9 kB / 0.5361 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002391/0.3084, allocations: 123.5 kB / 0.5362 GB, free: 9.859 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001254/0.3085, allocations: 60.89 kB / 0.5363 GB, free: 9.828 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.961e-05/0.3085, allocations: 2.406 kB / 0.5363 GB, free: 9.828 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.564e-05/0.3086, allocations: 39.91 kB / 0.5363 GB, free: 9.781 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.683e-06/0.3086, allocations: 0 / 0.5363 GB, free: 9.781 MB / 398.1 MB Notification: Performance of matching and sorting (n=19): time 0.001477/0.3101, allocations: 0.8026 MB / 0.5371 GB, free: 9.117 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.496e-05/0.3101, allocations: 53.5 kB / 0.5372 GB, free: 9.055 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.3102, allocations: 150.8 kB / 0.5373 GB, free: 8.926 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.3103, allocations: 29.7 kB / 0.5373 GB, free: 8.891 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.813e-05/0.3103, allocations: 122.7 kB / 0.5375 GB, free: 8.77 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.607e-05/0.3104, allocations: 62.17 kB / 0.5375 GB, free: 8.715 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.811e-05/0.3105, allocations: 37.89 kB / 0.5376 GB, free: 8.684 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.3106, allocations: 325.9 kB / 0.5379 GB, free: 8.359 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001037/0.3107, allocations: 51.44 kB / 0.5379 GB, free: 8.332 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001146/0.3108, allocations: 84.17 kB / 0.538 GB, free: 8.27 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000206/0.311, allocations: 128 kB / 0.5381 GB, free: 8.188 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.311, allocations: 4 kB / 0.5381 GB, free: 8.184 MB / 398.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003765/0.3114, allocations: 210.5 kB / 0.5383 GB, free: 8.059 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.3115, allocations: 5.656 kB / 0.5383 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.607e-05/0.3115, allocations: 3.938 kB / 0.5383 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001636/0.3116, allocations: 47.11 kB / 0.5384 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001641/0.3118, allocations: 34.02 kB / 0.5384 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001439/0.3133, allocations: 1.738 MB / 0.5401 GB, free: 6.305 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.813e-05/0.3134, allocations: 6.484 kB / 0.5401 GB, free: 6.301 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.348e-05/0.3134, allocations: 8.875 kB / 0.5401 GB, free: 6.297 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001198/0.3135, allocations: 122.2 kB / 0.5402 GB, free: 6.176 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.055e-05/0.3136, allocations: 9.938 kB / 0.5402 GB, free: 6.172 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.13e-05/0.3136, allocations: 23.25 kB / 0.5403 GB, free: 6.156 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.3136, allocations: 3.984 kB / 0.5403 GB, free: 6.152 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.185e-06/0.3136, allocations: 4.906 kB / 0.5403 GB, free: 6.148 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.733e-05/0.3137, allocations: 91.92 kB / 0.5404 GB, free: 6.043 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.162e-05/0.3137, allocations: 6.344 kB / 0.5404 GB, free: 6.039 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.727e-05/0.3138, allocations: 1.219 kB / 0.5404 GB, free: 6.039 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.216e-05/0.3139, allocations: 19.84 kB / 0.5404 GB, free: 6.027 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005696/0.3144, allocations: 298 kB / 0.5407 GB, free: 5.824 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004637/0.3149, allocations: 406.6 kB / 0.5411 GB, free: 5.512 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001138/0.315, allocations: 55.56 kB / 0.5411 GB, free: 5.484 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.037e-05/0.3151, allocations: 108 kB / 0.5412 GB, free: 5.395 MB / 398.1 MB Notification: Performance of Backend: time 5.11e-07/0.3151, allocations: 3.938 kB / 0.5412 GB, free: 5.391 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006938/0.3158, allocations: 302.7 kB / 0.5415 GB, free: 5.148 MB / 398.1 MB Notification: Performance of SimCode: time 0.0009493/0.3168, allocations: 0.8907 MB / 0.5424 GB, free: 4.34 MB / 398.1 MB Notification: Performance of Templates: time 0.005187/0.322, allocations: 1.849 MB / 0.5442 GB, free: 3.402 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/SimpleDriveTrain/SimpleDriveTrain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches