Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_InitializationConversion_SpringDamper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_InitializationConversion_SpringDamper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 104.2 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 191.9 kB / 18.56 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.258/1.258, allocations: 222.9 MB / 242.3 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.194/0.194, allocations: 44.18 MB / 336.6 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 64.56 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.105, allocations: 60.82 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.004003/0.1091, allocations: 3.271 MB / 472.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001206/0.1103, allocations: 0.8026 MB / 473.4 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001694/0.1105, allocations: 11.94 kB / 473.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001967/0.1107, allocations: 75.23 kB / 473.5 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002867/0.111, allocations: 178.4 kB / 473.7 MB, free: 9.906 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000217/0.1112, allocations: 103.9 kB / 473.8 MB, free: 9.805 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004561/0.1117, allocations: 0.5833 MB / 474.4 MB, free: 9.219 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002593/0.112, allocations: 173.3 kB / 474.5 MB, free: 9.047 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001913/0.1122, allocations: 227.2 kB / 474.8 MB, free: 8.824 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002286/0.1124, allocations: 238.9 kB / 475 MB, free: 8.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.473e-05/0.1125, allocations: 44 kB / 475 MB, free: 8.547 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.386e-05/0.1125, allocations: 44 kB / 475.1 MB, free: 8.504 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.073e-05/0.1126, allocations: 99.61 kB / 475.2 MB, free: 8.406 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002046/0.1128, allocations: 262.8 kB / 475.4 MB, free: 8.148 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004132/0.1132, allocations: 0.5527 MB / 476 MB, free: 7.594 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1133, allocations: 8 kB / 476 MB, free: 7.586 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1133, allocations: 0 / 476 MB, free: 7.586 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.113e-05/0.1133, allocations: 0 / 476 MB, free: 7.586 MB / 350.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.000947/0.1142, allocations: 0.7551 MB / 476.7 MB, free: 6.785 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.1143, allocations: 12.03 kB / 476.8 MB, free: 6.773 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.559e-05/0.1144, allocations: 86.7 kB / 476.8 MB, free: 6.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.597e-05/0.1144, allocations: 52.38 kB / 476.9 MB, free: 6.629 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003134/0.1148, allocations: 318.4 kB / 477.2 MB, free: 6.281 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.663e-05/0.1148, allocations: 33.38 kB / 477.2 MB, free: 6.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.181e-05/0.1149, allocations: 60.19 kB / 477.3 MB, free: 6.191 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005974/0.1155, allocations: 442.7 kB / 477.7 MB, free: 5.742 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.473e-05/0.1155, allocations: 3.906 kB / 477.7 MB, free: 5.738 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.382e-05/0.1155, allocations: 24 kB / 477.8 MB, free: 5.715 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.1156, allocations: 12 kB / 477.8 MB, free: 5.703 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004527/0.116, allocations: 316.5 kB / 478.1 MB, free: 5.395 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001431/0.1175, allocations: 1.15 MB / 479.2 MB, free: 4.188 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006239/0.1181, allocations: 492.9 kB / 479.7 MB, free: 3.664 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002647/0.1184, allocations: 215.1 kB / 479.9 MB, free: 3.449 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.134e-05/0.1184, allocations: 8.438 kB / 479.9 MB, free: 3.441 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.1184, allocations: 46.86 kB / 480 MB, free: 3.387 MB / 350.1 MB Notification: Performance of pre-optimization done (n=62): time 1.663e-06/0.1184, allocations: 4 kB / 480 MB, free: 3.383 MB / 350.1 MB Notification: Performance of matching and sorting (n=74): time 0.002582/0.121, allocations: 2.123 MB / 482.1 MB, free: 1.086 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.651e-05/0.1211, allocations: 93.61 kB / 482.2 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002095/0.1213, allocations: 258.9 kB / 482.4 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.673e-05/0.1213, allocations: 33.7 kB / 482.5 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.1215, allocations: 213 kB / 482.7 MB, free: 476 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001472/0.1216, allocations: 268.1 kB / 482.9 MB, free: 204 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001278/0.1217, allocations: 118.7 kB / 483.1 MB, free: 80 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.1219, allocations: 366.7 kB / 483.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000232/0.1221, allocations: 153.9 kB / 483.6 MB, free: 15.56 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002986/0.1224, allocations: 268.9 kB / 483.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000578/0.123, allocations: 480 kB / 484.3 MB, free: 14.76 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.123, allocations: 0 / 484.3 MB, free: 14.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0007319/0.1238, allocations: 0.5668 MB / 484.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.1238, allocations: 8 kB / 484.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.1238, allocations: 0 / 484.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.1238, allocations: 8.281 kB / 484.9 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005531/0.1244, allocations: 179.7 kB / 485.1 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.423e-05/0.1244, allocations: 11.98 kB / 485.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002424/0.1247, allocations: 23.94 kB / 485.1 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.192e-05/0.1247, allocations: 28 kB / 485.1 MB, free: 13.93 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.0001693/0.1249, allocations: 177.6 kB / 485.3 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.549e-05/0.125, allocations: 51.47 kB / 485.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.882e-05/0.1251, allocations: 63.64 kB / 485.4 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-06/0.1251, allocations: 8 kB / 485.4 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.1251, allocations: 0 / 485.4 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/0.1251, allocations: 7.922 kB / 485.4 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00168/0.1268, allocations: 1.45 MB / 486.9 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.1268, allocations: 0 / 486.9 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006008/0.1274, allocations: 163.8 kB / 487 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.682e-06/0.1274, allocations: 4 kB / 487 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.669e-05/0.1275, allocations: 27.92 kB / 487.1 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.161e-06/0.1275, allocations: 8.344 kB / 487.1 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.1275, allocations: 7.938 kB / 487.1 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009276/0.1284, allocations: 0.8998 MB / 488 MB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.26e-05/0.1285, allocations: 124.5 kB / 488.1 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.525e-05/0.1286, allocations: 16 kB / 488.1 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000275/0.1289, allocations: 24 kB / 488.1 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.874e-05/0.1289, allocations: 48.31 kB / 488.2 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.827e-05/0.129, allocations: 23.94 kB / 488.2 MB, free: 10.65 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001428/0.1291, allocations: 182 kB / 488.4 MB, free: 10.48 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1291, allocations: 3.938 kB / 488.4 MB, free: 10.47 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004732/0.1296, allocations: 140 kB / 488.5 MB, free: 10.34 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.001192/0.1308, allocations: 1.476 MB / 490 MB, free: 8.805 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007996/0.1316, allocations: 483.6 kB / 490.5 MB, free: 8.328 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.1316, allocations: 0 / 490.5 MB, free: 8.328 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002783/0.1319, allocations: 238.2 kB / 490.7 MB, free: 8.098 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008875/0.1328, allocations: 134.6 kB / 490.8 MB, free: 7.969 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005239/0.138, allocations: 4.809 MB / 495.7 MB, free: 2.93 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003532/0.1384, allocations: 0.8486 MB / 496.5 MB, free: 2.055 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000185/0.1386, allocations: 60.64 kB / 496.6 MB, free: 1.996 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002021/0.1388, allocations: 159.4 kB / 496.7 MB, free: 1.84 MB / 366.1 MB Notification: Performance of SimCode: time 1.634e-06/0.1388, allocations: 0 / 496.7 MB, free: 1.84 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1713/0.3101, allocations: 9.68 MB / 0.4945 GB, free: 8.34 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.669/8.979, allocations: 15.67 kB / 0.4945 GB, free: 8.328 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Rotational_InitializationConversion_SpringDamper_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Rotational_InitializationConversion_SpringDamper.fmu > ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches