Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.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.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|inertia7.phi|inertia7.w|inertia7a.phi|inertia7a.w|inertia8.phi|inertia8.w|inertia8a.phi|inertia8a.w|inertia9.phi|inertia9.w|inertia9a.phi|inertia9a.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia") translateModel(ModelicaTest.Rotational.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|inertia7.phi|inertia7.w|inertia7a.phi|inertia7a.w|inertia8.phi|inertia8.w|inertia8a.phi|inertia8a.w|inertia9.phi|inertia9.w|inertia9a.phi|inertia9a.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001303/0.001303, 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.41/1.41, allocations: 205.1 MB / 222.5 MB, free: 8.48 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.0009243/0.0009243, allocations: 97.42 kB / 269.9 MB, free: 8.441 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.3297/0.3297, allocations: 43.5 MB / 360.7 MB, free: 51.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009838/0.0009838, allocations: 47.92 kB / 429.2 MB, free: 6.391 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1104, allocations: 57.77 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004344/0.1148, allocations: 3.097 MB / 490.1 MB, free: 9.426 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009852/0.1158, allocations: 410.5 kB / 490.5 MB, free: 9.023 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000297/0.1162, allocations: 8 kB / 490.5 MB, free: 9.016 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001334/0.1163, allocations: 47.62 kB / 490.6 MB, free: 8.969 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003521/0.1167, allocations: 138.8 kB / 490.7 MB, free: 8.832 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002433/0.1169, allocations: 95.92 kB / 490.8 MB, free: 8.738 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004421/0.1174, allocations: 0.5246 MB / 491.3 MB, free: 8.211 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002552/0.1177, allocations: 133.2 kB / 491.4 MB, free: 8.074 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001916/0.1179, allocations: 187.3 kB / 491.6 MB, free: 7.891 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002142/0.1181, allocations: 211 kB / 491.8 MB, free: 7.684 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.438e-05/0.1181, allocations: 32 kB / 491.9 MB, free: 7.652 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.47e-05/0.1182, allocations: 28 kB / 491.9 MB, free: 7.625 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.749e-05/0.1183, allocations: 75.64 kB / 492 MB, free: 7.551 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002085/0.1185, allocations: 242.9 kB / 492.2 MB, free: 7.312 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004217/0.1189, allocations: 0.4984 MB / 492.7 MB, free: 6.812 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1189, allocations: 0 / 492.7 MB, free: 6.812 MB / 378.7 MB Notification: Performance of FrontEnd: time 6.72e-07/0.1189, allocations: 0 / 492.7 MB, free: 6.812 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.119, allocations: 0 / 492.7 MB, free: 6.812 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.0009265/0.1199, allocations: 0.7135 MB / 493.4 MB, free: 6.047 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.1199, allocations: 12.03 kB / 493.4 MB, free: 6.035 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.497e-05/0.12, allocations: 48.38 kB / 493.5 MB, free: 5.988 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000282/0.1203, allocations: 303.2 kB / 493.8 MB, free: 5.652 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.596e-05/0.1203, allocations: 33.38 kB / 493.8 MB, free: 5.621 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.532e-05/0.1204, allocations: 60.27 kB / 493.9 MB, free: 5.562 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006108/0.121, allocations: 466.6 kB / 494.3 MB, free: 5.07 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.815e-05/0.1211, allocations: 8.094 kB / 494.3 MB, free: 5.062 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.778e-05/0.1211, allocations: 23.94 kB / 494.3 MB, free: 5.039 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.1211, allocations: 12 kB / 494.4 MB, free: 5.027 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003842/0.1215, allocations: 259.3 kB / 494.6 MB, free: 4.777 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002038/0.1236, allocations: 1.707 MB / 496.3 MB, free: 2.988 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004972/0.1241, allocations: 423.5 kB / 496.7 MB, free: 2.492 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001981/0.1243, allocations: 155.7 kB / 496.9 MB, free: 2.312 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/0.1243, allocations: 4 kB / 496.9 MB, free: 2.309 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.597e-05/0.1244, allocations: 50.5 kB / 496.9 MB, free: 2.25 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 2.896e-06/0.1244, allocations: 0 / 496.9 MB, free: 2.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=42): time 0.0007216/0.1251, allocations: 349.8 kB / 497.3 MB, free: 1.902 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001298/0.1253, allocations: 277.4 kB / 497.6 MB, free: 1.57 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002351/0.1255, allocations: 250.6 kB / 497.8 MB, free: 1.32 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/0.1255, allocations: 33.7 kB / 497.8 MB, free: 1.281 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001502/0.1257, allocations: 243.6 kB / 498.1 MB, free: 1.039 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001305/0.1258, allocations: 181.5 kB / 498.2 MB, free: 0.8594 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001375/0.126, allocations: 114.6 kB / 498.4 MB, free: 0.7422 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.1261, allocations: 346.8 kB / 498.7 MB, free: 404 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001906/0.1263, allocations: 121.9 kB / 498.8 MB, free: 280 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003881/0.1267, allocations: 421.6 kB / 499.2 MB, free: 15.72 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006227/0.1273, allocations: 0.581 MB / 499.8 MB, free: 15 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.1274, allocations: 0 / 499.8 MB, free: 15 MB / 394.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0007575/0.1281, allocations: 0.5676 MB / 0.4886 GB, free: 14.43 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.1282, allocations: 15.98 kB / 0.4887 GB, free: 14.41 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/0.1282, allocations: 8 kB / 0.4887 GB, free: 14.41 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.357e-05/0.1282, allocations: 16 kB / 0.4887 GB, free: 14.39 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005053/0.1287, allocations: 179.7 kB / 0.4889 GB, free: 14.21 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.83e-05/0.1287, allocations: 19.92 kB / 0.4889 GB, free: 14.2 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002386/0.129, allocations: 59.38 kB / 0.4889 GB, free: 14.14 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.751e-05/0.129, allocations: 36 kB / 0.489 GB, free: 14.1 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (86): * Single equations (assignments): 86 * 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.0001753/0.1292, allocations: 189.6 kB / 0.4891 GB, free: 13.91 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000176/0.1294, allocations: 43.52 kB / 0.4892 GB, free: 13.86 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.608e-05/0.1295, allocations: 45.7 kB / 0.4892 GB, free: 13.81 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.1295, allocations: 7.938 kB / 0.4892 GB, free: 13.8 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/0.1295, allocations: 4 kB / 0.4892 GB, free: 13.8 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.1295, allocations: 0 / 0.4892 GB, free: 13.8 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009283/0.1305, allocations: 413.2 kB / 0.4896 GB, free: 13.35 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.1305, allocations: 4 kB / 0.4896 GB, free: 13.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005205/0.131, allocations: 119.9 kB / 0.4898 GB, free: 13.23 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.65e-06/0.131, allocations: 4 kB / 0.4898 GB, free: 13.22 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.01e-05/0.1311, allocations: 24.12 kB / 0.4898 GB, free: 13.2 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.085e-06/0.1311, allocations: 11.92 kB / 0.4898 GB, free: 13.19 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.1311, allocations: 4 kB / 0.4898 GB, free: 13.18 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.003497/0.1346, allocations: 3.368 MB / 0.4931 GB, free: 9.656 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.256e-05/0.1347, allocations: 116.5 kB / 0.4932 GB, free: 9.523 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.659e-05/0.1347, allocations: 15.94 kB / 0.4932 GB, free: 9.508 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000364/0.1351, allocations: 8 kB / 0.4932 GB, free: 9.5 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.386e-05/0.1352, allocations: 31.89 kB / 0.4933 GB, free: 9.469 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.94e-05/0.1352, allocations: 16 kB / 0.4933 GB, free: 9.453 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000146/0.1353, allocations: 174 kB / 0.4934 GB, free: 9.285 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.1353, allocations: 0 / 0.4934 GB, free: 9.285 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008937/0.1362, allocations: 191.7 kB / 0.4936 GB, free: 9.098 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 24 (inertia1.phi,inertia1.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,inertia2.phi,inertia2.w,inertia7.phi,inertia7.w,inertia7a.phi,inertia7a.w,inertia6.phi,inertia6.w,inertia8.phi,inertia8.w,inertia8a.phi,inertia8a.w,inertia9.phi,inertia9.w,inertia9a.phi,inertia9a.w) * 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 (42): * Single equations (assignments): 42 * 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.0001853/0.1364, allocations: 115.1 kB / 0.4937 GB, free: 8.977 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005614/0.137, allocations: 350.3 kB / 0.4941 GB, free: 8.637 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.137, allocations: 3.938 kB / 0.4941 GB, free: 8.633 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001594/0.1372, allocations: 136 kB / 0.4942 GB, free: 8.5 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001121/0.1383, allocations: 96.34 kB / 0.4943 GB, free: 8.406 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002873/0.1412, allocations: 2.424 MB / 0.4967 GB, free: 5.918 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004023/0.1416, allocations: 0.8356 MB / 0.4975 GB, free: 5.059 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002048/0.1418, allocations: 64.12 kB / 0.4975 GB, free: 4.992 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.869e-05/0.1419, allocations: 39.44 kB / 0.4976 GB, free: 4.953 MB / 394.7 MB Notification: Performance of SimCode: time 6.81e-07/0.1419, allocations: 0 / 0.4976 GB, free: 4.953 MB / 394.7 MB Notification: Performance of Templates: time 0.007767/0.1497, allocations: 4.822 MB / 0.5023 GB, free: 152 kB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches