Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.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.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|relativeStates.phi_rel|relativeStates.w_rel|springDamper1.phi_rel|springDamper1.w_rel|springDamper2.phi_rel|springDamper2.w_rel|springDamper3.phi_rel|springDamper3.w_rel",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper") translateModel(ModelicaTest.Rotational.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|relativeStates.phi_rel|relativeStates.w_rel|springDamper1.phi_rel|springDamper1.w_rel|springDamper2.phi_rel|springDamper2.w_rel|springDamper3.phi_rel|springDamper3.w_rel",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001578/0.001578, allocations: 112.1 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001818/0.001819, allocations: 206.8 kB / 19.41 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.467/1.467, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2252/0.2252, allocations: 46.11 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 75.88 kB / 482 MB, free: 4.102 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3231/0.3246, allocations: 62.44 MB / 0.5317 GB, free: 13.81 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.004341/0.329, allocations: 3.279 MB / 0.5349 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00133/0.3304, allocations: 0.8308 MB / 0.5357 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001882/0.3306, allocations: 15.72 kB / 0.5357 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002212/0.3308, allocations: 75.2 kB / 0.5358 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003041/0.3311, allocations: 166.8 kB / 0.5359 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002902/0.3314, allocations: 113.3 kB / 0.536 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006619/0.3321, allocations: 0.6044 MB / 0.5366 GB, free: 9.836 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003248/0.3324, allocations: 169.1 kB / 0.5368 GB, free: 9.738 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002696/0.3327, allocations: 227 kB / 0.537 GB, free: 9.613 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003168/0.333, allocations: 241.1 kB / 0.5372 GB, free: 9.453 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.747e-05/0.3331, allocations: 42.94 kB / 0.5373 GB, free: 9.453 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001011/0.3332, allocations: 44.38 kB / 0.5373 GB, free: 9.453 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001024/0.3333, allocations: 101.5 kB / 0.5374 GB, free: 9.367 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002938/0.3336, allocations: 270.3 kB / 0.5377 GB, free: 9.195 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006576/0.3343, allocations: 0.5638 MB / 0.5382 GB, free: 8.789 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.3343, allocations: 0.9375 kB / 0.5382 GB, free: 8.789 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.3343, allocations: 0 / 0.5382 GB, free: 8.789 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.398e-06/0.3343, allocations: 0 / 0.5382 GB, free: 8.789 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001151/0.3355, allocations: 0.7667 MB / 0.539 GB, free: 8.141 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.3355, allocations: 13.19 kB / 0.539 GB, free: 8.137 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.03e-05/0.3356, allocations: 56.7 kB / 0.539 GB, free: 8.109 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003941/0.336, allocations: 327.3 kB / 0.5393 GB, free: 7.793 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.893e-05/0.3361, allocations: 35.56 kB / 0.5394 GB, free: 7.777 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.282e-05/0.3362, allocations: 57.97 kB / 0.5394 GB, free: 7.754 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006276/0.3368, allocations: 435.9 kB / 0.5399 GB, free: 7.484 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.316e-05/0.3368, allocations: 18.59 kB / 0.5399 GB, free: 7.469 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.601e-05/0.3369, allocations: 24.03 kB / 0.5399 GB, free: 7.449 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.368e-05/0.3369, allocations: 11.75 kB / 0.5399 GB, free: 7.449 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005312/0.3374, allocations: 316.2 kB / 0.5402 GB, free: 7.305 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001595/0.339, allocations: 1.143 MB / 0.5413 GB, free: 6.395 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007161/0.3398, allocations: 485.1 kB / 0.5418 GB, free: 6.09 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002777/0.3401, allocations: 217.7 kB / 0.542 GB, free: 5.977 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.756e-05/0.3401, allocations: 6.5 kB / 0.542 GB, free: 5.977 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.3401, allocations: 42.84 kB / 0.542 GB, free: 5.93 MB / 398.1 MB Notification: Performance of pre-optimization done (n=62): time 1.753e-06/0.3401, allocations: 0 / 0.542 GB, free: 5.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=74): time 0.002922/0.3431, allocations: 2.144 MB / 0.5441 GB, free: 4.367 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.14e-05/0.3431, allocations: 85.39 kB / 0.5442 GB, free: 4.273 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002637/0.3434, allocations: 251.4 kB / 0.5445 GB, free: 4.098 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.332e-05/0.3434, allocations: 41.48 kB / 0.5445 GB, free: 4.055 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/0.3436, allocations: 207.4 kB / 0.5447 GB, free: 3.867 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001736/0.3438, allocations: 288.5 kB / 0.545 GB, free: 3.613 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000145/0.3439, allocations: 127.8 kB / 0.5451 GB, free: 3.531 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.344, allocations: 361.1 kB / 0.5454 GB, free: 3.18 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002497/0.3443, allocations: 157.9 kB / 0.5456 GB, free: 3.109 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003267/0.3446, allocations: 281.9 kB / 0.5459 GB, free: 2.887 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000574/0.3452, allocations: 475.1 kB / 0.5463 GB, free: 2.387 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.3452, allocations: 0 / 0.5463 GB, free: 2.387 MB / 398.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0007467/0.346, allocations: 0.5632 MB / 0.5469 GB, free: 1.816 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.346, allocations: 8.281 kB / 0.5469 GB, free: 1.809 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.346, allocations: 11.94 kB / 0.5469 GB, free: 1.797 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.346, allocations: 4 kB / 0.5469 GB, free: 1.793 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005739/0.3466, allocations: 179.8 kB / 0.5471 GB, free: 1.617 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.673e-05/0.3467, allocations: 12 kB / 0.5471 GB, free: 1.605 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002439/0.3469, allocations: 27.98 kB / 0.5471 GB, free: 1.578 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.315e-05/0.3469, allocations: 24 kB / 0.5471 GB, free: 1.555 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (97): * Single equations (assignments): 97 * 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.0001773/0.3471, allocations: 189.6 kB / 0.5473 GB, free: 1.359 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.232e-05/0.3472, allocations: 47.72 kB / 0.5473 GB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001041/0.3473, allocations: 55.64 kB / 0.5474 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/0.3473, allocations: 3.984 kB / 0.5474 GB, free: 1.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.3474, allocations: 0 / 0.5474 GB, free: 1.25 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.632e-05/0.3474, allocations: 116.8 kB / 0.5475 GB, free: 1.117 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.108e-05/0.3475, allocations: 15.94 kB / 0.5475 GB, free: 1.102 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002359/0.3477, allocations: 20 kB / 0.5475 GB, free: 1.082 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.107e-05/0.3478, allocations: 40.5 kB / 0.5476 GB, free: 1.039 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001107/0.3489, allocations: 0.7088 MB / 0.5483 GB, free: 336 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00102/0.35, allocations: 0.9434 MB / 0.5492 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002587/0.3502, allocations: 208.4 kB / 0.5494 GB, free: 15.16 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001438/0.3504, allocations: 174 kB / 0.5496 GB, free: 14.98 MB / 414.1 MB Notification: Performance of Backend: time 6.01e-07/0.3504, allocations: 0 / 0.5496 GB, free: 14.98 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007996/0.3512, allocations: 393.9 kB / 0.5499 GB, free: 14.59 MB / 414.1 MB Notification: Performance of SimCode: time 0.002352/0.3535, allocations: 2.005 MB / 0.5519 GB, free: 12.55 MB / 414.1 MB Notification: Performance of Templates: time 0.009936/0.3635, allocations: 6.109 MB / 0.5579 GB, free: 6.496 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/InitializationConversion/SpringDamper/SpringDamper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches