Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001355/0.001355, allocations: 116.4 kB / 18.5 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001335/0.001335, allocations: 208.9 kB / 21.46 MB, free: 1.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.395/1.395, allocations: 230.2 MB / 254.5 MB, free: 15.43 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Mechanics.Rotational.Examples.FirstGrounded,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_FirstGrounded",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.FirstGrounded,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_FirstGrounded",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001767/0.001767, allocations: 63.89 kB / 373.3 MB, free: 10.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09363/0.0954, allocations: 53.32 MB / 426.7 MB, free: 5.035 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.003699/0.0991, allocations: 2.383 MB / 429 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00118/0.1003, allocations: 0.6466 MB / 429.7 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001328/0.1004, allocations: 4 kB / 429.7 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001507/0.1006, allocations: 35.59 kB / 429.7 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001485/0.1007, allocations: 79.33 kB / 429.8 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002714/0.101, allocations: 63.92 kB / 429.9 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003021/0.1013, allocations: 258.8 kB / 430.1 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001596/0.1014, allocations: 60.38 kB / 430.2 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002063/0.1016, allocations: 115.5 kB / 430.3 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001459/0.1018, allocations: 99.56 kB / 430.4 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.305e-05/0.1018, allocations: 20 kB / 430.4 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.885e-05/0.1019, allocations: 24 kB / 430.4 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.268e-05/0.1019, allocations: 51.77 kB / 430.5 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000121/0.1021, allocations: 115.5 kB / 430.6 MB, free: 1.078 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000357/0.1024, allocations: 258.8 kB / 430.9 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1024, allocations: 4 kB / 430.9 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1024, allocations: 0 / 430.9 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.218e-05/0.1024, allocations: 0 / 430.9 MB, free: 0.8203 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.000766/0.1032, allocations: 0.5143 MB / 431.4 MB, free: 264 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.1032, allocations: 11.97 kB / 431.4 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.735e-05/0.1033, allocations: 58.73 kB / 431.4 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000155/0.1035, allocations: 36.78 kB / 431.5 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000377/0.1038, allocations: 244.7 kB / 431.7 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/0.1038, allocations: 12.81 kB / 431.7 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.939e-05/0.1039, allocations: 20.38 kB / 431.7 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003813/0.1043, allocations: 213.9 kB / 432 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.07e-05/0.1043, allocations: 11.95 kB / 432 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.946e-05/0.1043, allocations: 8 kB / 432 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.1043, allocations: 11.94 kB / 432 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002549/0.1046, allocations: 121.7 kB / 432.1 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001033/0.1056, allocations: 0.7017 MB / 432.8 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002859/0.1059, allocations: 146.5 kB / 433 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001294/0.106, allocations: 64.83 kB / 433 MB, free: 14.49 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.1e-05/0.1061, allocations: 4 kB / 433 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.1061, allocations: 30.56 kB / 433 MB, free: 14.45 MB / 366.1 MB Notification: Performance of pre-optimization done (n=20): time 1.293e-06/0.1061, allocations: 0 / 433 MB, free: 14.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=24): time 0.001598/0.1077, allocations: 0.8974 MB / 433.9 MB, free: 13.46 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/0.1077, allocations: 59.41 kB / 434 MB, free: 13.39 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001734/0.1079, allocations: 171.5 kB / 434.2 MB, free: 13.2 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.326e-05/0.1079, allocations: 29.7 kB / 434.2 MB, free: 13.17 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.944e-05/0.108, allocations: 152.3 kB / 434.3 MB, free: 13.02 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.021e-05/0.1081, allocations: 87.23 kB / 434.4 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.44e-05/0.1082, allocations: 53.69 kB / 434.5 MB, free: 12.87 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.1083, allocations: 330.8 kB / 434.8 MB, free: 12.54 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001214/0.1084, allocations: 55.97 kB / 434.9 MB, free: 12.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001586/0.1086, allocations: 108.2 kB / 435 MB, free: 12.36 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002772/0.1089, allocations: 160.2 kB / 435.1 MB, free: 12.19 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1089, allocations: 0 / 435.1 MB, free: 12.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004338/0.1093, allocations: 254.1 kB / 435.4 MB, free: 11.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.1093, allocations: 8 kB / 435.4 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.1093, allocations: 0 / 435.4 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001564/0.1095, allocations: 32.83 kB / 435.4 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002065/0.1097, allocations: 51.92 kB / 435.5 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00135/0.111, allocations: 1.481 MB / 436.9 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001136/0.1112, allocations: 16.02 kB / 437 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.342e-05/0.1112, allocations: 16.06 kB / 437 MB, free: 10.18 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001231/0.1113, allocations: 129.8 kB / 437.1 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.465e-05/0.1113, allocations: 23.86 kB / 437.1 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.481e-05/0.1114, allocations: 25.86 kB / 437.2 MB, free: 9.996 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.1114, allocations: 7.938 kB / 437.2 MB, free: 9.988 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.1114, allocations: 0 / 437.2 MB, free: 9.988 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.1114, allocations: 3.938 kB / 437.2 MB, free: 9.984 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009143/0.1123, allocations: 0.6559 MB / 437.8 MB, free: 9.258 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1123, allocations: 0 / 437.8 MB, free: 9.258 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002151/0.1125, allocations: 51.95 kB / 437.9 MB, free: 9.207 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001034/0.1126, allocations: 28.84 kB / 437.9 MB, free: 9.176 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.1127, allocations: 8.062 kB / 437.9 MB, free: 9.168 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001221/0.1139, allocations: 1.485 MB / 439.4 MB, free: 7.543 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.1139, allocations: 4.031 kB / 439.4 MB, free: 7.539 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005549/0.1144, allocations: 394.1 kB / 439.8 MB, free: 7.129 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.402e-05/0.1145, allocations: 101 kB / 439.9 MB, free: 7.012 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.341e-05/0.1145, allocations: 4 kB / 439.9 MB, free: 7.008 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/0.1146, allocations: 8 kB / 439.9 MB, free: 7 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.127e-05/0.1147, allocations: 23.89 kB / 439.9 MB, free: 6.977 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.1147, allocations: 8 kB / 439.9 MB, free: 6.969 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001039/0.1148, allocations: 128.1 kB / 440 MB, free: 6.844 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1148, allocations: 0 / 440 MB, free: 6.844 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003041/0.1151, allocations: 60 kB / 440.1 MB, free: 6.785 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.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 (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008755/0.116, allocations: 0.9412 MB / 441 MB, free: 5.812 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005745/0.1166, allocations: 286.3 kB / 441.3 MB, free: 5.52 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.1166, allocations: 0 / 441.3 MB, free: 5.52 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003014/0.1169, allocations: 206.6 kB / 441.5 MB, free: 5.305 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004101/0.1173, allocations: 48.61 kB / 441.6 MB, free: 5.258 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003486/0.1208, allocations: 2.544 MB / 444.1 MB, free: 2.586 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004686/0.1212, allocations: 0.7443 MB / 444.9 MB, free: 1.816 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.323e-05/0.1213, allocations: 21.94 kB / 444.9 MB, free: 1.797 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000108/0.1214, allocations: 67.42 kB / 445 MB, free: 1.734 MB / 366.1 MB Notification: Performance of SimCode: time 9.32e-07/0.1214, allocations: 0 / 445 MB, free: 1.734 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2118/0.3333, allocations: 4.804 MB / 449.8 MB, free: 24.78 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.968/10.3, allocations: 8.922 kB / 449.8 MB, free: 24.78 MB / 366.1 MB " [Timeout remaining time 650] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Rotational_Examples_FirstGrounded_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Rotational_Examples_FirstGrounded.fmu > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.73964358214289]