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.001505/0.001505, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001864/0.001864, allocations: 199.5 kB / 19.36 MB, free: 3.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.342/1.342, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2074/0.2074, allocations: 46.09 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 79.53 kB / 419 MB, free: 19.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1179, allocations: 62.44 MB / 481.5 MB, free: 4.566 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.004231/0.1221, allocations: 3.293 MB / 484.7 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001574/0.1237, allocations: 0.8335 MB / 485.6 MB, free: 428 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004813/0.1242, allocations: 11.94 kB / 485.6 MB, free: 416 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002571/0.1245, allocations: 75.23 kB / 485.7 MB, free: 340 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004465/0.125, allocations: 170.5 kB / 485.8 MB, free: 168 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002948/0.1253, allocations: 107.9 kB / 485.9 MB, free: 60 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006958/0.126, allocations: 0.6026 MB / 486.5 MB, free: 15.45 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000293/0.1263, allocations: 173.3 kB / 486.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002815/0.1266, allocations: 211.3 kB / 486.9 MB, free: 15.08 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003259/0.1269, allocations: 246.9 kB / 487.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.312e-05/0.127, allocations: 44 kB / 487.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.378e-05/0.1271, allocations: 51.94 kB / 487.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.401e-05/0.1272, allocations: 95.69 kB / 487.3 MB, free: 14.65 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002572/0.1275, allocations: 266.7 kB / 487.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004916/0.128, allocations: 0.5567 MB / 488.2 MB, free: 13.83 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.128, allocations: 0 / 488.2 MB, free: 13.83 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.128, allocations: 0 / 488.2 MB, free: 13.83 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.031e-05/0.128, allocations: 0 / 488.2 MB, free: 13.83 MB / 366.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.001079/0.1291, allocations: 0.7678 MB / 488.9 MB, free: 13.01 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.1291, allocations: 8.031 kB / 488.9 MB, free: 13 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.608e-05/0.1292, allocations: 52.38 kB / 489 MB, free: 12.95 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004289/0.1297, allocations: 318.4 kB / 489.3 MB, free: 12.6 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.027e-05/0.1297, allocations: 33.38 kB / 489.3 MB, free: 12.57 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.251e-05/0.1298, allocations: 60.28 kB / 489.4 MB, free: 12.51 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00062/0.1304, allocations: 434.9 kB / 489.8 MB, free: 12.07 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.122e-05/0.1305, allocations: 11.91 kB / 489.8 MB, free: 12.06 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.486e-05/0.1305, allocations: 23.92 kB / 489.8 MB, free: 12.04 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.114e-05/0.1305, allocations: 12 kB / 489.9 MB, free: 12.02 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004655/0.131, allocations: 316.4 kB / 490.2 MB, free: 11.71 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001521/0.1325, allocations: 1.138 MB / 491.3 MB, free: 10.52 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006305/0.1332, allocations: 481.2 kB / 491.8 MB, free: 10.01 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002614/0.1334, allocations: 215 kB / 492 MB, free: 9.793 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.584e-05/0.1335, allocations: 4.438 kB / 492 MB, free: 9.785 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.1335, allocations: 50.92 kB / 492 MB, free: 9.727 MB / 366.1 MB Notification: Performance of pre-optimization done (n=62): time 2.274e-06/0.1335, allocations: 0 / 492 MB, free: 9.727 MB / 366.1 MB Notification: Performance of matching and sorting (n=74): time 0.002629/0.1362, allocations: 2.131 MB / 494.2 MB, free: 7.426 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.393e-05/0.1362, allocations: 85.67 kB / 494.3 MB, free: 7.324 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002189/0.1364, allocations: 254.9 kB / 494.5 MB, free: 7.07 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.186e-05/0.1365, allocations: 37.7 kB / 494.5 MB, free: 7.027 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001196/0.1366, allocations: 217 kB / 494.8 MB, free: 6.809 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001621/0.1368, allocations: 268.1 kB / 495 MB, free: 6.543 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001328/0.1369, allocations: 122.6 kB / 495.1 MB, free: 6.418 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.137, allocations: 358.7 kB / 495.5 MB, free: 6.059 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002269/0.1373, allocations: 153.9 kB / 495.6 MB, free: 5.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002973/0.1376, allocations: 276.9 kB / 495.9 MB, free: 5.605 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005589/0.1381, allocations: 468 kB / 496.4 MB, free: 5.109 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.1381, allocations: 4 kB / 496.4 MB, free: 5.105 MB / 366.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0007703/0.1389, allocations: 0.5747 MB / 496.9 MB, free: 4.523 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.1389, allocations: 4 kB / 496.9 MB, free: 4.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.719e-06/0.139, allocations: 4 kB / 497 MB, free: 4.516 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.135e-05/0.139, allocations: 8 kB / 497 MB, free: 4.508 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000538/0.1395, allocations: 179.7 kB / 497.1 MB, free: 4.332 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.998e-05/0.1396, allocations: 11.97 kB / 497.1 MB, free: 4.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002875/0.1399, allocations: 24 kB / 497.2 MB, free: 4.297 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.046e-05/0.1399, allocations: 36.16 kB / 497.2 MB, free: 4.262 MB / 366.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.0001814/0.1401, allocations: 177.6 kB / 497.4 MB, free: 4.078 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.879e-05/0.1402, allocations: 43.53 kB / 497.4 MB, free: 4.035 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.343e-05/0.1403, allocations: 55.7 kB / 497.5 MB, free: 3.98 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.1403, allocations: 12 kB / 497.5 MB, free: 3.969 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/0.1403, allocations: 4 kB / 497.5 MB, free: 3.965 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.914e-06/0.1403, allocations: 3.984 kB / 497.5 MB, free: 3.961 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00177/0.1421, allocations: 1.451 MB / 498.9 MB, free: 2.398 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.177e-06/0.1421, allocations: 0 / 498.9 MB, free: 2.398 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005883/0.1427, allocations: 155.8 kB / 499.1 MB, free: 2.246 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.786e-06/0.1427, allocations: 4 kB / 499.1 MB, free: 2.242 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.082e-05/0.1428, allocations: 27.92 kB / 499.1 MB, free: 2.215 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.025e-05/0.1428, allocations: 11.94 kB / 499.1 MB, free: 2.203 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.1428, allocations: 0 / 499.1 MB, free: 2.203 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001078/0.1439, allocations: 0.9045 MB / 0.4883 GB, free: 1.25 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001044/0.144, allocations: 120.5 kB / 0.4884 GB, free: 1.113 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.618e-05/0.1441, allocations: 19.94 kB / 0.4885 GB, free: 1.094 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002734/0.1444, allocations: 20 kB / 0.4885 GB, free: 1.074 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.956e-05/0.1444, allocations: 52.31 kB / 0.4885 GB, free: 1.023 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.867e-05/0.1445, allocations: 20 kB / 0.4885 GB, free: 1.004 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001566/0.1446, allocations: 185.9 kB / 0.4887 GB, free: 0.8203 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1446, allocations: 0 / 0.4887 GB, free: 0.8203 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004838/0.1451, allocations: 140 kB / 0.4889 GB, free: 0.6836 MB / 366.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.0001312/0.1453, allocations: 123.1 kB / 0.489 GB, free: 0.5547 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006422/0.1459, allocations: 459.6 kB / 0.4894 GB, free: 108 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1459, allocations: 3.938 kB / 0.4894 GB, free: 104 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002923/0.1462, allocations: 235.5 kB / 0.4896 GB, free: 15.88 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007551/0.147, allocations: 132.8 kB / 0.4898 GB, free: 15.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002277/0.1493, allocations: 1.656 MB / 0.4914 GB, free: 14.03 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004224/0.1497, allocations: 0.8563 MB / 0.4922 GB, free: 13.14 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001892/0.1499, allocations: 52.66 kB / 0.4923 GB, free: 13.09 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.248e-05/0.15, allocations: 43.44 kB / 0.4923 GB, free: 13.05 MB / 382.1 MB Notification: Performance of SimCode: time 5.31e-07/0.15, allocations: 0 / 0.4923 GB, free: 13.05 MB / 382.1 MB Notification: Performance of Templates: time 0.00955/0.1596, allocations: 5.309 MB / 0.4975 GB, free: 7.812 MB / 382.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 -s cvode -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