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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001738/0.001738, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002082/0.002082, allocations: 204.5 kB / 23.72 MB, free: 4.391 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.497/1.497, allocations: 230.5 MB / 257.4 MB, free: 7.73 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2367/0.2367, allocations: 46.95 MB / 360.8 MB, free: 3.895 MB / 286.1 MB " [Timeout remaining time 180] 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: "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_InitializationConversion_SpringDamper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_InitializationConversion_SpringDamper",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002391/0.002391, allocations: 83.88 kB / 0.4962 GB, free: 7.531 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3135/0.3159, allocations: 66.08 MB / 0.5607 GB, free: 3.887 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.004218/0.3201, allocations: 2.99 MB / 0.5636 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001385/0.3215, allocations: 0.814 MB / 0.5644 GB, free: 68 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001689/0.3217, allocations: 15.88 kB / 0.5644 GB, free: 52 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001974/0.3219, allocations: 71.33 kB / 0.5645 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003071/0.3222, allocations: 174.4 kB / 0.5647 GB, free: 15.81 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002173/0.3224, allocations: 107.9 kB / 0.5648 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005612/0.323, allocations: 0.6024 MB / 0.5653 GB, free: 15.1 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002179/0.3232, allocations: 109.8 kB / 0.5654 GB, free: 14.98 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002527/0.3234, allocations: 239.2 kB / 0.5657 GB, free: 14.75 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002622/0.3237, allocations: 210.9 kB / 0.5659 GB, free: 14.54 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.077e-05/0.3238, allocations: 44 kB / 0.5659 GB, free: 14.5 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.32e-05/0.3239, allocations: 44 kB / 0.566 GB, free: 14.46 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.966e-05/0.3239, allocations: 99.62 kB / 0.5661 GB, free: 14.36 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002101/0.3241, allocations: 223 kB / 0.5663 GB, free: 14.14 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005654/0.3247, allocations: 0.566 MB / 0.5668 GB, free: 13.57 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3247, allocations: 0 / 0.5668 GB, free: 13.57 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.3247, allocations: 0 / 0.5668 GB, free: 13.57 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.3247, allocations: 7.938 kB / 0.5668 GB, free: 13.57 MB / 414.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.001047/0.3258, allocations: 0.696 MB / 0.5675 GB, free: 12.84 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.3258, allocations: 8.031 kB / 0.5675 GB, free: 12.83 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.846e-05/0.3259, allocations: 90.7 kB / 0.5676 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.283e-05/0.326, allocations: 60.61 kB / 0.5677 GB, free: 12.67 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004392/0.3264, allocations: 260.7 kB / 0.5679 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.565e-05/0.3265, allocations: 37.38 kB / 0.5679 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.996e-05/0.3265, allocations: 52.33 kB / 0.568 GB, free: 12.3 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006641/0.3272, allocations: 438.7 kB / 0.5684 GB, free: 11.86 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.988e-05/0.3272, allocations: 11.95 kB / 0.5684 GB, free: 11.85 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.582e-05/0.3273, allocations: 16 kB / 0.5684 GB, free: 11.83 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.3273, allocations: 11.94 kB / 0.5685 GB, free: 11.82 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005039/0.3278, allocations: 312.5 kB / 0.5687 GB, free: 11.52 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001616/0.3294, allocations: 1.01 MB / 0.5697 GB, free: 10.46 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007014/0.3301, allocations: 387.1 kB / 0.5701 GB, free: 10.06 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003057/0.3304, allocations: 190.9 kB / 0.5703 GB, free: 9.867 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.989e-05/0.3304, allocations: 12.42 kB / 0.5703 GB, free: 9.855 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.126e-05/0.3305, allocations: 46.94 kB / 0.5703 GB, free: 9.801 MB / 414.1 MB Notification: Performance of pre-optimization done (n=62): time 2.555e-06/0.3305, allocations: 0 / 0.5703 GB, free: 9.801 MB / 414.1 MB Notification: Performance of matching and sorting (n=74): time 0.002948/0.3334, allocations: 1.842 MB / 0.5721 GB, free: 7.871 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.565e-05/0.3335, allocations: 85.61 kB / 0.5722 GB, free: 7.766 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002548/0.3338, allocations: 252.2 kB / 0.5725 GB, free: 7.512 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.729e-05/0.3338, allocations: 41.7 kB / 0.5725 GB, free: 7.465 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001473/0.3339, allocations: 213.4 kB / 0.5727 GB, free: 7.254 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002639/0.3342, allocations: 281.5 kB / 0.573 GB, free: 6.977 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001506/0.3344, allocations: 126.7 kB / 0.5731 GB, free: 6.848 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001837/0.3345, allocations: 358.7 kB / 0.5734 GB, free: 6.488 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002633/0.3348, allocations: 157.9 kB / 0.5736 GB, free: 6.332 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003652/0.3352, allocations: 281 kB / 0.5739 GB, free: 6.023 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006773/0.3358, allocations: 466.6 kB / 0.5743 GB, free: 5.531 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.3358, allocations: 4 kB / 0.5743 GB, free: 5.527 MB / 414.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.000876/0.3367, allocations: 0.5709 MB / 0.5749 GB, free: 4.949 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.3367, allocations: 4 kB / 0.5749 GB, free: 4.945 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.3367, allocations: 4 kB / 0.5749 GB, free: 4.941 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.155e-05/0.3368, allocations: 12.34 kB / 0.5749 GB, free: 4.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005749/0.3374, allocations: 183.8 kB / 0.5751 GB, free: 4.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.592e-05/0.3374, allocations: 7.938 kB / 0.5751 GB, free: 4.742 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00025/0.3376, allocations: 31.92 kB / 0.5751 GB, free: 4.711 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.995e-05/0.3377, allocations: 24 kB / 0.5751 GB, free: 4.688 MB / 414.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.0001907/0.3379, allocations: 177.7 kB / 0.5753 GB, free: 4.504 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.142e-05/0.3379, allocations: 47.72 kB / 0.5753 GB, free: 4.457 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001179/0.3381, allocations: 59.58 kB / 0.5754 GB, free: 4.395 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/0.3381, allocations: 12 kB / 0.5754 GB, free: 4.383 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.3381, allocations: 0 / 0.5754 GB, free: 4.383 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/0.3381, allocations: 7.922 kB / 0.5754 GB, free: 4.375 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001916/0.34, allocations: 1.338 MB / 0.5767 GB, free: 2.934 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.034e-06/0.34, allocations: 4 kB / 0.5767 GB, free: 2.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006022/0.3406, allocations: 163.7 kB / 0.5769 GB, free: 2.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.215e-06/0.3406, allocations: 4 kB / 0.5769 GB, free: 2.766 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.473e-05/0.3407, allocations: 19.94 kB / 0.5769 GB, free: 2.746 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.147e-06/0.3407, allocations: 7.984 kB / 0.5769 GB, free: 2.738 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.3407, allocations: 4 kB / 0.5769 GB, free: 2.734 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001128/0.3418, allocations: 0.9165 MB / 0.5778 GB, free: 1.77 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.798e-05/0.3419, allocations: 51.64 kB / 0.5779 GB, free: 1.719 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.961e-05/0.3419, allocations: 20.06 kB / 0.5779 GB, free: 1.699 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002681/0.3422, allocations: 12 kB / 0.5779 GB, free: 1.688 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.812e-05/0.3423, allocations: 56.28 kB / 0.5779 GB, free: 1.629 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.127e-05/0.3423, allocations: 23.94 kB / 0.578 GB, free: 1.605 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001712/0.3425, allocations: 183.1 kB / 0.5781 GB, free: 1.426 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3425, allocations: 0 / 0.5781 GB, free: 1.426 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000506/0.343, allocations: 144 kB / 0.5783 GB, free: 1.285 MB / 414.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.001435/0.3444, allocations: 1.472 MB / 0.5797 GB, free: 15.76 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007044/0.3451, allocations: 435.5 kB / 0.5801 GB, free: 15.33 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.3451, allocations: 4 kB / 0.5801 GB, free: 15.33 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003104/0.3454, allocations: 219.1 kB / 0.5803 GB, free: 15.11 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008317/0.3463, allocations: 136.8 kB / 0.5805 GB, free: 14.98 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006032/0.3523, allocations: 4.768 MB / 0.5851 GB, free: 10 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000259/0.3526, allocations: 250 kB / 0.5854 GB, free: 9.727 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002014/0.3528, allocations: 60.66 kB / 0.5854 GB, free: 9.664 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002476/0.353, allocations: 167.4 kB / 0.5856 GB, free: 9.5 MB / 430.1 MB Notification: Performance of SimCode: time 5.41e-07/0.353, allocations: 0 / 0.5856 GB, free: 9.5 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04053/0.3935, allocations: 10.9 MB / 0.5962 GB, free: 14.8 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.59, allocations: 3.938 kB / 0.5962 GB, free: 14.8 MB / 446.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Rotational_InitializationConversion_SpringDamper_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Rotational_InitializationConversion_SpringDamper.fmu > ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.674047117121518]