Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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: translateModel(ModelicaTest.Rotational.TestSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speed1.phi|speed1.w|speed2.phi|speed3.s|speed3.v|speed4.s",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed") translateModel(ModelicaTest.Rotational.TestSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speed1.phi|speed1.w|speed2.phi|speed3.s|speed3.v|speed4.s",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001086/0.001086, allocations: 114.9 kB / 18.46 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00109/0.00109, allocations: 206.8 kB / 19.41 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.313/1.313, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2044/0.2044, allocations: 46.1 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 76.2 kB / 482 MB, free: 4.125 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3071/0.3084, allocations: 62.44 MB / 0.5316 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.003754/0.3122, allocations: 2.635 MB / 0.5342 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001318/0.3136, allocations: 0.7209 MB / 0.5349 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001935/0.3138, allocations: 9.438 kB / 0.5349 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001549/0.314, allocations: 43.66 kB / 0.535 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000167/0.3141, allocations: 88.81 kB / 0.5351 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002852/0.3144, allocations: 98.94 kB / 0.5351 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003277/0.3148, allocations: 341.3 kB / 0.5355 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001671/0.3149, allocations: 86.98 kB / 0.5356 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002032/0.3152, allocations: 129.3 kB / 0.5357 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001736/0.3153, allocations: 128.2 kB / 0.5358 GB, free: 10.35 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.298e-05/0.3154, allocations: 22.69 kB / 0.5358 GB, free: 10.35 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.648e-05/0.3155, allocations: 32.62 kB / 0.5359 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.072e-05/0.3155, allocations: 59.61 kB / 0.5359 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001238/0.3157, allocations: 145.9 kB / 0.536 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003118/0.316, allocations: 304.4 kB / 0.5363 GB, free: 9.984 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.316, allocations: 9.266 kB / 0.5363 GB, free: 9.977 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.316, allocations: 0 / 0.5363 GB, free: 9.977 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.284e-06/0.316, allocations: 0 / 0.5363 GB, free: 9.977 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0008435/0.3169, allocations: 0.5919 MB / 0.5369 GB, free: 9.441 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.3169, allocations: 8.062 kB / 0.5369 GB, free: 9.441 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002369/0.3172, allocations: 56.16 kB / 0.537 GB, free: 9.414 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003574/0.3175, allocations: 276.7 kB / 0.5373 GB, free: 9.141 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.3175, allocations: 19.78 kB / 0.5373 GB, free: 9.133 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.174e-05/0.3176, allocations: 24.97 kB / 0.5373 GB, free: 9.125 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004694/0.3181, allocations: 290.1 kB / 0.5376 GB, free: 8.914 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.925e-05/0.3181, allocations: 8.703 kB / 0.5376 GB, free: 8.906 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.382e-05/0.3181, allocations: 10.75 kB / 0.5376 GB, free: 8.898 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/0.3182, allocations: 6.594 kB / 0.5376 GB, free: 8.898 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004091/0.3186, allocations: 188 kB / 0.5378 GB, free: 8.812 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001616/0.3202, allocations: 1.303 MB / 0.539 GB, free: 7.598 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004277/0.3206, allocations: 250.5 kB / 0.5393 GB, free: 7.418 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001938/0.3208, allocations: 103.5 kB / 0.5394 GB, free: 7.348 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.251e-05/0.3209, allocations: 3.094 kB / 0.5394 GB, free: 7.348 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.3209, allocations: 45.72 kB / 0.5394 GB, free: 7.297 MB / 398.1 MB Notification: Performance of pre-optimization done (n=26): time 1.633e-06/0.3209, allocations: 0 / 0.5394 GB, free: 7.297 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.002407/0.3233, allocations: 1.565 MB / 0.541 GB, free: 5.898 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.624e-05/0.3234, allocations: 137.2 kB / 0.5411 GB, free: 5.738 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002098/0.3236, allocations: 224.2 kB / 0.5413 GB, free: 5.574 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.586e-05/0.3237, allocations: 31.14 kB / 0.5413 GB, free: 5.539 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.3238, allocations: 181.8 kB / 0.5415 GB, free: 5.371 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.38e-05/0.3239, allocations: 116 kB / 0.5416 GB, free: 5.27 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.293e-05/0.324, allocations: 71.88 kB / 0.5417 GB, free: 5.219 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.3241, allocations: 337.6 kB / 0.542 GB, free: 4.887 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002342/0.3244, allocations: 104.3 kB / 0.5421 GB, free: 4.84 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003347/0.3247, allocations: 240.8 kB / 0.5423 GB, free: 4.617 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005704/0.3253, allocations: 372.5 kB / 0.5427 GB, free: 4.324 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.3253, allocations: 5.062 kB / 0.5427 GB, free: 4.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007145/0.326, allocations: 388.6 kB / 0.5431 GB, free: 4.125 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.326, allocations: 7.438 kB / 0.5431 GB, free: 4.125 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.3261, allocations: 4.562 kB / 0.5431 GB, free: 4.125 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.3261, allocations: 6.938 kB / 0.5431 GB, free: 4.125 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003768/0.3265, allocations: 105.4 kB / 0.5432 GB, free: 4.094 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/0.3265, allocations: 11.25 kB / 0.5432 GB, free: 4.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002082/0.3267, allocations: 25.86 kB / 0.5432 GB, free: 4.078 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.72e-05/0.3267, allocations: 17.28 kB / 0.5432 GB, free: 4.074 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (48): * Single equations (assignments): 48 * 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.0001402/0.3269, allocations: 152.8 kB / 0.5434 GB, free: 3.93 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/0.327, allocations: 33.58 kB / 0.5434 GB, free: 3.91 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.98e-05/0.3271, allocations: 32.88 kB / 0.5434 GB, free: 3.883 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.3271, allocations: 5.078 kB / 0.5435 GB, free: 3.879 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3271, allocations: 5.094 kB / 0.5435 GB, free: 3.875 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.578e-05/0.3272, allocations: 95.86 kB / 0.5435 GB, free: 3.77 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.085e-05/0.3272, allocations: 7.844 kB / 0.5436 GB, free: 3.766 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002968/0.3275, allocations: 17.14 kB / 0.5436 GB, free: 3.758 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.414e-05/0.3276, allocations: 39.8 kB / 0.5436 GB, free: 3.73 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009114/0.3285, allocations: 0.6241 MB / 0.5442 GB, free: 3.25 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009436/0.3295, allocations: 0.7949 MB / 0.545 GB, free: 2.637 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002462/0.3297, allocations: 121.6 kB / 0.5451 GB, free: 2.578 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001349/0.3299, allocations: 158.2 kB / 0.5453 GB, free: 2.461 MB / 398.1 MB Notification: Performance of Backend: time 3.01e-07/0.3299, allocations: 1.062 kB / 0.5453 GB, free: 2.461 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009305/0.3308, allocations: 276 kB / 0.5455 GB, free: 2.301 MB / 398.1 MB Notification: Performance of SimCode: time 0.001477/0.3323, allocations: 1.274 MB / 0.5468 GB, free: 1.215 MB / 398.1 MB Notification: Performance of Templates: time 0.006385/0.3387, allocations: 3.133 MB / 0.5498 GB, free: 14.38 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/TestSpeed/TestSpeed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches