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: "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_InitializationConversion_SpringDamper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_InitializationConversion_SpringDamper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001371/0.001371, allocations: 121.7 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001502/0.001502, allocations: 199.8 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.366/1.366, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.203/0.203, allocations: 46.09 MB / 344.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 79.88 kB / 480.8 MB, free: 4.605 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3341/0.3356, allocations: 62.43 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.004147/0.3398, allocations: 3.299 MB / 0.5337 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00141/0.3412, allocations: 0.8296 MB / 0.5345 GB, free: 10.13 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001955/0.3414, allocations: 12.19 kB / 0.5345 GB, free: 10.13 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002138/0.3417, allocations: 70.11 kB / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002907/0.342, allocations: 173.8 kB / 0.5348 GB, free: 9.914 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002364/0.3422, allocations: 105.5 kB / 0.5349 GB, free: 9.82 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005434/0.3428, allocations: 0.6087 MB / 0.5355 GB, free: 9.445 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002876/0.3431, allocations: 171 kB / 0.5356 GB, free: 9.344 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002528/0.3433, allocations: 229.1 kB / 0.5358 GB, free: 9.219 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002819/0.3436, allocations: 240.3 kB / 0.5361 GB, free: 9.059 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.603e-05/0.3437, allocations: 42.62 kB / 0.5361 GB, free: 9.059 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.965e-05/0.3438, allocations: 43.91 kB / 0.5362 GB, free: 9.059 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.165e-05/0.3439, allocations: 106 kB / 0.5363 GB, free: 8.969 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002428/0.3441, allocations: 262.4 kB / 0.5365 GB, free: 8.805 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005363/0.3447, allocations: 0.5638 MB / 0.5371 GB, free: 8.395 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3447, allocations: 0 / 0.5371 GB, free: 8.395 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3447, allocations: 0 / 0.5371 GB, free: 8.395 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.057e-06/0.3447, allocations: 4 kB / 0.5371 GB, free: 8.391 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.00109/0.3458, allocations: 0.7516 MB / 0.5378 GB, free: 7.758 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.3458, allocations: 14.77 kB / 0.5378 GB, free: 7.754 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.243e-05/0.3459, allocations: 80.69 kB / 0.5379 GB, free: 7.68 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.627e-05/0.346, allocations: 56.72 kB / 0.5379 GB, free: 7.652 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004542/0.3465, allocations: 326.9 kB / 0.5383 GB, free: 7.336 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.631e-05/0.3465, allocations: 40.62 kB / 0.5383 GB, free: 7.316 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.032e-05/0.3466, allocations: 59.86 kB / 0.5383 GB, free: 7.289 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006696/0.3473, allocations: 432.9 kB / 0.5388 GB, free: 7.023 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.969e-05/0.3473, allocations: 10.7 kB / 0.5388 GB, free: 7.016 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.642e-05/0.3474, allocations: 20.88 kB / 0.5388 GB, free: 7 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/0.3474, allocations: 15.47 kB / 0.5388 GB, free: 6.996 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005035/0.3479, allocations: 319.6 kB / 0.5391 GB, free: 6.848 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001653/0.3496, allocations: 1.135 MB / 0.5402 GB, free: 5.945 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007366/0.3503, allocations: 487.9 kB / 0.5407 GB, free: 5.637 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003085/0.3506, allocations: 222.4 kB / 0.5409 GB, free: 5.52 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.748e-05/0.3507, allocations: 6.125 kB / 0.5409 GB, free: 5.52 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.421e-05/0.3507, allocations: 42.88 kB / 0.5409 GB, free: 5.473 MB / 398.1 MB Notification: Performance of pre-optimization done (n=62): time 2.114e-06/0.3507, allocations: 0 / 0.5409 GB, free: 5.473 MB / 398.1 MB Notification: Performance of matching and sorting (n=74): time 0.003115/0.3538, allocations: 2.124 MB / 0.543 GB, free: 3.93 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.375e-05/0.3539, allocations: 89.36 kB / 0.5431 GB, free: 3.832 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002594/0.3542, allocations: 263.3 kB / 0.5434 GB, free: 3.645 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.86e-05/0.3542, allocations: 41.42 kB / 0.5434 GB, free: 3.602 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001299/0.3544, allocations: 207 kB / 0.5436 GB, free: 3.414 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001832/0.3546, allocations: 270.9 kB / 0.5438 GB, free: 3.176 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001513/0.3547, allocations: 115.1 kB / 0.544 GB, free: 3.105 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.3549, allocations: 360.9 kB / 0.5443 GB, free: 2.754 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002574/0.3551, allocations: 163.1 kB / 0.5445 GB, free: 2.68 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003215/0.3555, allocations: 277.3 kB / 0.5447 GB, free: 2.48 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006175/0.3561, allocations: 471.1 kB / 0.5452 GB, free: 2.188 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.3561, allocations: 1.188 kB / 0.5452 GB, free: 2.188 MB / 398.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0008254/0.3569, allocations: 0.5726 MB / 0.5457 GB, free: 1.68 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.357, allocations: 8 kB / 0.5457 GB, free: 1.672 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.357, allocations: 0 / 0.5457 GB, free: 1.672 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.686e-05/0.357, allocations: 8 kB / 0.5457 GB, free: 1.664 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006108/0.3576, allocations: 184 kB / 0.5459 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/0.3576, allocations: 8 kB / 0.5459 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002713/0.3579, allocations: 31.92 kB / 0.546 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.444e-05/0.358, allocations: 28 kB / 0.546 GB, free: 1.418 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.0001889/0.3582, allocations: 177.6 kB / 0.5462 GB, free: 1.234 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.699e-05/0.3582, allocations: 47.44 kB / 0.5462 GB, free: 1.188 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001067/0.3584, allocations: 59.64 kB / 0.5463 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.3584, allocations: 8 kB / 0.5463 GB, free: 1.117 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.075e-05/0.3584, allocations: 4 kB / 0.5463 GB, free: 1.113 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/0.3584, allocations: 7.922 kB / 0.5463 GB, free: 1.105 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001861/0.3603, allocations: 1.432 MB / 0.5477 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.3603, allocations: 4 kB / 0.5477 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006191/0.3609, allocations: 155.8 kB / 0.5478 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.3609, allocations: 4.344 kB / 0.5478 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.493e-05/0.361, allocations: 27.94 kB / 0.5479 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.546e-06/0.361, allocations: 11.94 kB / 0.5479 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/0.361, allocations: 4 kB / 0.5479 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/0.3621, allocations: 0.9039 MB / 0.5488 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001451/0.3622, allocations: 124.5 kB / 0.5489 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.652e-05/0.3623, allocations: 24.03 kB / 0.5489 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002769/0.3626, allocations: 15.98 kB / 0.5489 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.044e-05/0.3626, allocations: 52.31 kB / 0.549 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.085e-05/0.3627, allocations: 23.94 kB / 0.549 GB, free: 14.14 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001807/0.3629, allocations: 182 kB / 0.5492 GB, free: 13.97 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3629, allocations: 0 / 0.5492 GB, free: 13.97 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005601/0.3634, allocations: 148 kB / 0.5493 GB, free: 13.82 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 14 (inertia6.phi,inertia6.w,relativeStates.phi_rel,relativeStates.w_rel,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,springDamper1.phi_rel,springDamper1.w_rel,springDamper2.phi_rel,springDamper2.w_rel,springDamper3.phi_rel,springDamper3.w_rel) * 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 (74): * Single equations (assignments): 74 * 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.00135/0.3648, allocations: 1.46 MB / 0.5507 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007085/0.3655, allocations: 459.6 kB / 0.5512 GB, free: 11.86 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.299e-06/0.3655, allocations: 0 / 0.5512 GB, free: 11.86 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003046/0.3659, allocations: 243.3 kB / 0.5514 GB, free: 11.62 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008741/0.3667, allocations: 135.1 kB / 0.5515 GB, free: 11.49 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005735/0.3725, allocations: 4.758 MB / 0.5562 GB, free: 6.52 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004446/0.3729, allocations: 0.8407 MB / 0.557 GB, free: 5.648 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002063/0.3732, allocations: 60.66 kB / 0.5571 GB, free: 5.586 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002363/0.3734, allocations: 167.4 kB / 0.5572 GB, free: 5.422 MB / 414.1 MB Notification: Performance of SimCode: time 1.072e-06/0.3734, allocations: 0 / 0.5572 GB, free: 5.422 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02878/0.4022, allocations: 10.1 MB / 0.5671 GB, free: 11.52 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.222/8.624, allocations: 11 kB / 0.5671 GB, free: 11.52 MB / 430.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Rotational_InitializationConversion_SpringDamper_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Rotational_InitializationConversion_SpringDamper.fmu > 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