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.001339/0.00134, allocations: 115.6 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001737/0.001737, allocations: 212 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.336/1.336, 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.1981/0.1981, allocations: 46.1 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 71.89 kB / 482 MB, free: 4.066 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3324/0.3339, allocations: 62.43 MB / 0.5316 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.004582/0.3385, allocations: 3.29 MB / 0.5349 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001812/0.3404, allocations: 0.8269 MB / 0.5357 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003436/0.3408, allocations: 7.875 kB / 0.5357 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002352/0.341, allocations: 78.17 kB / 0.5358 GB, free: 10.22 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004572/0.3415, allocations: 178.1 kB / 0.5359 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002833/0.3418, allocations: 104.9 kB / 0.536 GB, free: 9.973 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007215/0.3425, allocations: 0.6006 MB / 0.5366 GB, free: 9.605 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003124/0.3428, allocations: 175.3 kB / 0.5368 GB, free: 9.504 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003398/0.3432, allocations: 225.1 kB / 0.537 GB, free: 9.383 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003484/0.3436, allocations: 240.1 kB / 0.5372 GB, free: 9.223 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.558e-05/0.3436, allocations: 46.97 kB / 0.5373 GB, free: 9.219 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001254/0.3438, allocations: 43.56 kB / 0.5373 GB, free: 9.219 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.581e-05/0.3439, allocations: 106.7 kB / 0.5374 GB, free: 9.129 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002942/0.3442, allocations: 265.6 kB / 0.5377 GB, free: 8.961 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00057/0.3447, allocations: 0.5585 MB / 0.5382 GB, free: 8.559 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.3448, allocations: 0 / 0.5382 GB, free: 8.559 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3448, allocations: 1.156 kB / 0.5382 GB, free: 8.559 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.894e-05/0.3448, allocations: 0 / 0.5382 GB, free: 8.559 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.001178/0.346, allocations: 0.7477 MB / 0.5389 GB, free: 7.93 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.346, allocations: 12.33 kB / 0.5389 GB, free: 7.926 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001128/0.3462, allocations: 56.31 kB / 0.539 GB, free: 7.898 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004361/0.3466, allocations: 327 kB / 0.5393 GB, free: 7.582 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.829e-05/0.3466, allocations: 32.12 kB / 0.5393 GB, free: 7.57 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.046e-05/0.3467, allocations: 56.53 kB / 0.5394 GB, free: 7.547 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006643/0.3474, allocations: 445 kB / 0.5398 GB, free: 7.27 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.057e-05/0.3474, allocations: 11.03 kB / 0.5398 GB, free: 7.262 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.64e-05/0.3475, allocations: 20.22 kB / 0.5399 GB, free: 7.246 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.249e-05/0.3475, allocations: 11.47 kB / 0.5399 GB, free: 7.246 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004882/0.348, allocations: 312 kB / 0.5402 GB, free: 7.105 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001584/0.3496, allocations: 1.138 MB / 0.5413 GB, free: 6.199 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000744/0.3503, allocations: 488.9 kB / 0.5417 GB, free: 5.891 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002778/0.3506, allocations: 218 kB / 0.5419 GB, free: 5.777 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.3507, allocations: 7 kB / 0.542 GB, free: 5.777 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/0.3507, allocations: 38.19 kB / 0.542 GB, free: 5.734 MB / 398.1 MB Notification: Performance of pre-optimization done (n=62): time 2.174e-06/0.3507, allocations: 0 / 0.542 GB, free: 5.734 MB / 398.1 MB Notification: Performance of matching and sorting (n=74): time 0.002878/0.3536, allocations: 2.144 MB / 0.5441 GB, free: 4.172 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.32e-05/0.3536, allocations: 89.42 kB / 0.5442 GB, free: 4.074 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000254/0.3539, allocations: 260 kB / 0.5444 GB, free: 3.891 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.528e-05/0.3539, allocations: 36.14 kB / 0.5445 GB, free: 3.852 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/0.3541, allocations: 216.2 kB / 0.5447 GB, free: 3.656 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001821/0.3543, allocations: 266 kB / 0.5449 GB, free: 3.422 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001491/0.3544, allocations: 123.2 kB / 0.545 GB, free: 3.344 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.3546, allocations: 356.5 kB / 0.5454 GB, free: 2.996 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002524/0.3548, allocations: 159.7 kB / 0.5455 GB, free: 2.926 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003291/0.3552, allocations: 273.4 kB / 0.5458 GB, free: 2.73 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005954/0.3558, allocations: 476.8 kB / 0.5462 GB, free: 2.254 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.3558, allocations: 0 / 0.5462 GB, free: 2.254 MB / 398.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0007778/0.3566, allocations: 0.5708 MB / 0.5468 GB, free: 1.676 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.3566, allocations: 4 kB / 0.5468 GB, free: 1.672 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.3566, allocations: 7.984 kB / 0.5468 GB, free: 1.664 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.3566, allocations: 8 kB / 0.5468 GB, free: 1.656 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005542/0.3572, allocations: 175.7 kB / 0.547 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.306e-05/0.3572, allocations: 4 kB / 0.547 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002593/0.3575, allocations: 32.27 kB / 0.547 GB, free: 1.449 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.339e-05/0.3575, allocations: 28 kB / 0.547 GB, free: 1.422 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.0001728/0.3577, allocations: 181.5 kB / 0.5472 GB, free: 1.234 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.564e-05/0.3578, allocations: 43.53 kB / 0.5473 GB, free: 1.191 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000115/0.3579, allocations: 59.64 kB / 0.5473 GB, free: 1.129 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.3579, allocations: 3.984 kB / 0.5473 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.3579, allocations: 0 / 0.5473 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.885e-05/0.358, allocations: 112.5 kB / 0.5474 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.642e-05/0.3581, allocations: 23.94 kB / 0.5474 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002417/0.3583, allocations: 15.98 kB / 0.5475 GB, free: 0.957 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.28e-05/0.3584, allocations: 36.52 kB / 0.5475 GB, free: 0.918 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001125/0.3595, allocations: 0.7165 MB / 0.5482 GB, free: 204 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001033/0.3606, allocations: 0.9275 MB / 0.5491 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002521/0.3609, allocations: 212.3 kB / 0.5493 GB, free: 15.05 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001475/0.361, allocations: 178 kB / 0.5495 GB, free: 14.87 MB / 414.1 MB Notification: Performance of Backend: time 2.164e-06/0.361, allocations: 0 / 0.5495 GB, free: 14.87 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008063/0.3618, allocations: 396.1 kB / 0.5499 GB, free: 14.48 MB / 414.1 MB Notification: Performance of SimCode: time 0.002571/0.3644, allocations: 1.985 MB / 0.5518 GB, free: 12.45 MB / 414.1 MB Notification: Performance of Templates: time 0.01186/0.3763, allocations: 6.333 MB / 0.558 GB, free: 6.18 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