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.001336/0.001336, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001459/0.001459, allocations: 197.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.472/1.472, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.229/0.229, allocations: 46.12 MB / 344.4 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002304/0.002304, allocations: 75.88 kB / 480.9 MB, free: 4.469 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3075/0.3098, allocations: 62.45 MB / 0.5306 GB, free: 13.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.004876/0.3147, allocations: 3.287 MB / 0.5338 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001939/0.3167, allocations: 0.8358 MB / 0.5346 GB, free: 10.03 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004613/0.3172, allocations: 10.81 kB / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003008/0.3176, allocations: 71.5 kB / 0.5347 GB, free: 9.961 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005633/0.3181, allocations: 172.4 kB / 0.5349 GB, free: 9.809 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003737/0.3185, allocations: 109.4 kB / 0.535 GB, free: 9.711 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008627/0.3194, allocations: 0.5977 MB / 0.5356 GB, free: 9.348 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003457/0.3197, allocations: 167.5 kB / 0.5357 GB, free: 9.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000327/0.3201, allocations: 224.9 kB / 0.5359 GB, free: 9.125 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003488/0.3204, allocations: 236.5 kB / 0.5362 GB, free: 8.969 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.089e-05/0.3205, allocations: 45.84 kB / 0.5362 GB, free: 8.965 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.567e-05/0.3206, allocations: 44.09 kB / 0.5363 GB, free: 8.965 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.686e-05/0.3207, allocations: 99.09 kB / 0.5364 GB, free: 8.883 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002785/0.321, allocations: 269.7 kB / 0.5366 GB, free: 8.711 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007083/0.3217, allocations: 0.5668 MB / 0.5372 GB, free: 8.305 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.3217, allocations: 1.188 kB / 0.5372 GB, free: 8.305 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3218, allocations: 0 / 0.5372 GB, free: 8.305 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.035e-05/0.3218, allocations: 0 / 0.5372 GB, free: 8.305 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.001296/0.3231, allocations: 0.7662 MB / 0.5379 GB, free: 7.656 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.3231, allocations: 10.59 kB / 0.5379 GB, free: 7.656 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001043/0.3233, allocations: 89.36 kB / 0.538 GB, free: 7.574 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001123/0.3234, allocations: 60.23 kB / 0.5381 GB, free: 7.543 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005692/0.324, allocations: 323.6 kB / 0.5384 GB, free: 7.23 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.365e-05/0.324, allocations: 43.91 kB / 0.5384 GB, free: 7.207 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.692e-05/0.3241, allocations: 52.58 kB / 0.5385 GB, free: 7.188 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000743/0.3249, allocations: 439.9 kB / 0.5389 GB, free: 6.914 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.34e-05/0.3249, allocations: 12.23 kB / 0.5389 GB, free: 6.906 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.632e-05/0.3249, allocations: 16.09 kB / 0.5389 GB, free: 6.895 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.422e-05/0.325, allocations: 11.78 kB / 0.5389 GB, free: 6.895 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005068/0.3255, allocations: 315.3 kB / 0.5392 GB, free: 6.75 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001914/0.3274, allocations: 1.159 MB / 0.5404 GB, free: 5.824 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000771/0.3282, allocations: 489.6 kB / 0.5408 GB, free: 5.516 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003321/0.3286, allocations: 213.6 kB / 0.541 GB, free: 5.406 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.778e-05/0.3286, allocations: 6.875 kB / 0.541 GB, free: 5.406 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.736e-05/0.3286, allocations: 46.22 kB / 0.5411 GB, free: 5.355 MB / 398.1 MB Notification: Performance of pre-optimization done (n=62): time 2.614e-06/0.3286, allocations: 0 / 0.5411 GB, free: 5.355 MB / 398.1 MB Notification: Performance of matching and sorting (n=74): time 0.003434/0.3321, allocations: 2.139 MB / 0.5432 GB, free: 3.801 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.292e-05/0.3322, allocations: 89.25 kB / 0.5432 GB, free: 3.703 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002963/0.3325, allocations: 259.3 kB / 0.5435 GB, free: 3.52 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.37e-05/0.3325, allocations: 39.95 kB / 0.5435 GB, free: 3.477 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001565/0.3327, allocations: 212.5 kB / 0.5437 GB, free: 3.285 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002311/0.3329, allocations: 280.4 kB / 0.544 GB, free: 3.039 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000166/0.3331, allocations: 126.9 kB / 0.5441 GB, free: 2.957 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000184/0.3333, allocations: 361.1 kB / 0.5445 GB, free: 2.605 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002739/0.3336, allocations: 154.7 kB / 0.5446 GB, free: 2.539 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003634/0.334, allocations: 273.5 kB / 0.5449 GB, free: 2.344 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007059/0.3347, allocations: 478.3 kB / 0.5453 GB, free: 2.043 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.3347, allocations: 1.156 kB / 0.5453 GB, free: 2.043 MB / 398.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0009291/0.3356, allocations: 0.5737 MB / 0.5459 GB, free: 1.504 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/0.3357, allocations: 4 kB / 0.5459 GB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.3357, allocations: 4 kB / 0.5459 GB, free: 1.496 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.567e-05/0.3357, allocations: 8 kB / 0.5459 GB, free: 1.488 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006131/0.3363, allocations: 171.8 kB / 0.5461 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.965e-05/0.3364, allocations: 11.98 kB / 0.5461 GB, free: 1.309 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003514/0.3367, allocations: 36.22 kB / 0.5461 GB, free: 1.273 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.901e-05/0.3368, allocations: 24 kB / 0.5461 GB, free: 1.25 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.0002426/0.337, allocations: 177.7 kB / 0.5463 GB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.3371, allocations: 47.72 kB / 0.5464 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001261/0.3372, allocations: 51.64 kB / 0.5464 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.188e-06/0.3373, allocations: 8 kB / 0.5464 GB, free: 0.957 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.701e-05/0.3373, allocations: 4 kB / 0.5464 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.352e-05/0.3373, allocations: 11.86 kB / 0.5464 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002266/0.3396, allocations: 1.444 MB / 0.5478 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.3396, allocations: 0 / 0.5478 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006891/0.3403, allocations: 159.8 kB / 0.548 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.107e-06/0.3403, allocations: 4 kB / 0.548 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.041e-05/0.3404, allocations: 23.94 kB / 0.548 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.141e-05/0.3404, allocations: 8 kB / 0.548 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.3404, allocations: 4.281 kB / 0.548 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001135/0.3415, allocations: 0.9159 MB / 0.5489 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001535/0.3417, allocations: 124.8 kB / 0.549 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.024e-05/0.3418, allocations: 20 kB / 0.5491 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002828/0.3421, allocations: 19.98 kB / 0.5491 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.117e-05/0.3421, allocations: 48.42 kB / 0.5491 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.112e-05/0.3422, allocations: 31.92 kB / 0.5492 GB, free: 13.96 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001745/0.3424, allocations: 174 kB / 0.5493 GB, free: 13.79 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3424, allocations: 0 / 0.5493 GB, free: 13.79 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005781/0.343, allocations: 144 kB / 0.5495 GB, free: 13.65 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.001553/0.3445, allocations: 1.468 MB / 0.5509 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007934/0.3453, allocations: 463.9 kB / 0.5513 GB, free: 11.67 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.3454, allocations: 0 / 0.5513 GB, free: 11.67 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000328/0.3457, allocations: 238.8 kB / 0.5516 GB, free: 11.44 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009404/0.3466, allocations: 135.9 kB / 0.5517 GB, free: 11.31 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006531/0.3532, allocations: 4.781 MB / 0.5564 GB, free: 6.312 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000516/0.3537, allocations: 0.8485 MB / 0.5572 GB, free: 5.434 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000251/0.354, allocations: 60.66 kB / 0.5573 GB, free: 5.371 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002511/0.3543, allocations: 167.4 kB / 0.5574 GB, free: 5.207 MB / 414.1 MB Notification: Performance of SimCode: time 1.453e-06/0.3543, allocations: 0 / 0.5574 GB, free: 5.207 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03715/0.3914, allocations: 9.901 MB / 0.5671 GB, free: 11.51 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.969/9.36, allocations: 11.69 kB / 0.5671 GB, free: 11.5 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