Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001093/0.001093, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.369/1.369, allocations: 205.1 MB / 222.5 MB, free: 8.477 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00103/0.00103, allocations: 105.5 kB / 269.9 MB, free: 8.434 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3199/0.3199, allocations: 43.5 MB / 360.7 MB, free: 51.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009987/0.0009988, allocations: 51.92 kB / 429.2 MB, free: 6.395 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1108, allocations: 57.77 MB / 487 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.004993/0.1158, allocations: 3.311 MB / 490.3 MB, free: 9.215 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001726/0.1176, allocations: 0.8347 MB / 491.2 MB, free: 8.371 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000393/0.118, allocations: 11.94 kB / 491.2 MB, free: 8.359 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002967/0.1184, allocations: 55.55 kB / 491.2 MB, free: 8.305 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005201/0.1189, allocations: 150.8 kB / 491.4 MB, free: 8.156 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003159/0.1193, allocations: 91.92 kB / 491.5 MB, free: 8.066 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006521/0.1199, allocations: 0.5792 MB / 492 MB, free: 7.484 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000293/0.1202, allocations: 149.8 kB / 492.2 MB, free: 7.328 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002899/0.1205, allocations: 203.2 kB / 492.4 MB, free: 7.129 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003175/0.1208, allocations: 234.9 kB / 492.6 MB, free: 6.898 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.554e-05/0.1209, allocations: 31.94 kB / 492.6 MB, free: 6.867 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.279e-05/0.121, allocations: 28 kB / 492.7 MB, free: 6.84 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.245e-05/0.1211, allocations: 87.67 kB / 492.8 MB, free: 6.754 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002587/0.1214, allocations: 254.7 kB / 493 MB, free: 6.504 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004842/0.1219, allocations: 0.5176 MB / 493.5 MB, free: 5.984 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.1219, allocations: 0 / 493.5 MB, free: 5.984 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.1219, allocations: 0 / 493.5 MB, free: 5.984 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.571e-05/0.1219, allocations: 4 kB / 493.5 MB, free: 5.98 MB / 378.7 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.001177/0.1231, allocations: 0.7598 MB / 494.3 MB, free: 5.176 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.1231, allocations: 8.031 kB / 494.3 MB, free: 5.168 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.836e-05/0.1232, allocations: 60.28 kB / 494.3 MB, free: 5.109 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003881/0.1236, allocations: 318.4 kB / 494.7 MB, free: 4.762 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.37e-05/0.1237, allocations: 37.38 kB / 494.7 MB, free: 4.727 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.732e-05/0.1238, allocations: 52.28 kB / 494.7 MB, free: 4.676 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006588/0.1244, allocations: 442.9 kB / 495.2 MB, free: 4.227 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.117e-05/0.1245, allocations: 7.906 kB / 495.2 MB, free: 4.219 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.675e-05/0.1245, allocations: 20 kB / 495.2 MB, free: 4.199 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.351e-05/0.1245, allocations: 15.98 kB / 495.2 MB, free: 4.184 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004602/0.125, allocations: 312.5 kB / 495.5 MB, free: 3.879 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001556/0.1266, allocations: 1.153 MB / 496.7 MB, free: 2.672 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006391/0.1272, allocations: 493.1 kB / 497.2 MB, free: 2.148 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002661/0.1275, allocations: 218.9 kB / 497.4 MB, free: 1.93 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.853e-05/0.1275, allocations: 8.438 kB / 497.4 MB, free: 1.922 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/0.1276, allocations: 35 kB / 497.4 MB, free: 1.875 MB / 378.7 MB Notification: Performance of pre-optimization done (n=62): time 2.545e-06/0.1276, allocations: 0 / 497.4 MB, free: 1.875 MB / 378.7 MB Notification: Performance of matching and sorting (n=74): time 0.002645/0.1302, allocations: 2.135 MB / 499.6 MB, free: 15.57 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.634e-05/0.1303, allocations: 85.66 kB / 499.6 MB, free: 15.47 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002261/0.1305, allocations: 255 kB / 499.9 MB, free: 15.21 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.709e-05/0.1305, allocations: 41.64 kB / 499.9 MB, free: 15.16 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/0.1307, allocations: 213 kB / 0.4884 GB, free: 14.95 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000169/0.1309, allocations: 272.1 kB / 0.4887 GB, free: 14.68 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001295/0.131, allocations: 114.7 kB / 0.4888 GB, free: 14.57 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.1311, allocations: 358.7 kB / 0.4891 GB, free: 14.21 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000229/0.1314, allocations: 157.9 kB / 0.4893 GB, free: 14.05 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003193/0.1317, allocations: 280.8 kB / 0.4895 GB, free: 13.74 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005761/0.1323, allocations: 476 kB / 0.49 GB, free: 13.24 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1323, allocations: 0 / 0.49 GB, free: 13.24 MB / 394.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0007645/0.1331, allocations: 0.5631 MB / 0.4905 GB, free: 12.67 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.1331, allocations: 4 kB / 0.4906 GB, free: 12.67 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.1331, allocations: 4 kB / 0.4906 GB, free: 12.66 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.1331, allocations: 8 kB / 0.4906 GB, free: 12.66 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005365/0.1337, allocations: 183.8 kB / 0.4907 GB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.518e-05/0.1337, allocations: 7.938 kB / 0.4907 GB, free: 12.47 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002399/0.1339, allocations: 27.94 kB / 0.4908 GB, free: 12.44 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.129e-05/0.134, allocations: 32.16 kB / 0.4908 GB, free: 12.41 MB / 394.7 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.0001486/0.1341, allocations: 177.7 kB / 0.491 GB, free: 12.23 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.183e-05/0.1342, allocations: 51.42 kB / 0.491 GB, free: 12.18 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000117/0.1343, allocations: 59.59 kB / 0.4911 GB, free: 12.12 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.1343, allocations: 7.984 kB / 0.4911 GB, free: 12.11 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.1344, allocations: 4 kB / 0.4911 GB, free: 12.11 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.1344, allocations: 0 / 0.4911 GB, free: 12.11 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001718/0.1361, allocations: 1.442 MB / 0.4925 GB, free: 10.56 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/0.1361, allocations: 8.031 kB / 0.4925 GB, free: 10.55 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005702/0.1367, allocations: 163.8 kB / 0.4927 GB, free: 10.39 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.366e-06/0.1367, allocations: 4 kB / 0.4927 GB, free: 10.39 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.75e-05/0.1367, allocations: 19.94 kB / 0.4927 GB, free: 10.37 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.542e-06/0.1368, allocations: 7.938 kB / 0.4927 GB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.1368, allocations: 7.938 kB / 0.4927 GB, free: 10.35 MB / 394.7 MB Error: The model contains alias variables with conflicting fixed start values. It is necessary to resolve the conflicts, because otherwise the initial system is impossible to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004036/0.1408, allocations: 3.294 MB / 0.4959 GB, free: 6.867 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.864e-05/0.1409, allocations: 120.6 kB / 0.496 GB, free: 6.73 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.625e-05/0.141, allocations: 20 kB / 0.4961 GB, free: 6.711 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002574/0.1412, allocations: 16 kB / 0.4961 GB, free: 6.695 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.61e-05/0.1413, allocations: 52.25 kB / 0.4961 GB, free: 6.645 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.833e-05/0.1414, allocations: 24 kB / 0.4961 GB, free: 6.621 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001541/0.1415, allocations: 182 kB / 0.4963 GB, free: 6.441 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.1415, allocations: 0 / 0.4963 GB, free: 6.441 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006025/0.1421, allocations: 208 kB / 0.4965 GB, free: 6.238 MB / 394.7 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.0001212/0.1423, allocations: 127 kB / 0.4966 GB, free: 6.102 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006196/0.1429, allocations: 448.1 kB / 0.4971 GB, free: 5.668 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.1429, allocations: 8 kB / 0.4971 GB, free: 5.66 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000274/0.1432, allocations: 230.2 kB / 0.4973 GB, free: 5.434 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008009/0.144, allocations: 113 kB / 0.4974 GB, free: 5.328 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002842/0.1469, allocations: 2.28 MB / 0.4996 GB, free: 2.98 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004405/0.1473, allocations: 0.8608 MB / 0.5005 GB, free: 2.086 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002298/0.1475, allocations: 68.64 kB / 0.5005 GB, free: 2.016 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001116/0.1477, allocations: 47.44 kB / 0.5006 GB, free: 1.969 MB / 394.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1477, allocations: 0 / 0.5006 GB, free: 1.969 MB / 394.7 MB Notification: Performance of Templates: time 0.1757/0.3234, allocations: 6.067 MB / 0.5065 GB, free: 58.96 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/InitializationConversion/SpringDamper/SpringDamper.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches