Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.Continuous.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: "" <> buildModelFMU(ModelicaTest.Blocks.Continuous,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_Continuous",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Continuous,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_Continuous",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001764/0.001764, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002034/0.002035, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.02/2.02, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3017/0.3017, allocations: 46.13 MB / 344.4 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00216/0.00216, allocations: 79.86 kB / 480.9 MB, free: 4.484 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2988/0.301, allocations: 62.44 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous): time 0.004666/0.3057, allocations: 3.348 MB / 0.5339 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002997/0.3087, allocations: 1.597 MB / 0.5354 GB, free: 9.422 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003368/0.3091, allocations: 23.03 kB / 0.5355 GB, free: 9.414 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005255/0.3096, allocations: 139.9 kB / 0.5356 GB, free: 9.297 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004827/0.3101, allocations: 186.7 kB / 0.5358 GB, free: 9.148 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00127/0.3114, allocations: 0.5406 MB / 0.5363 GB, free: 8.734 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001021/0.3124, allocations: 0.9106 MB / 0.5372 GB, free: 8.176 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003954/0.3128, allocations: 236 kB / 0.5374 GB, free: 8.031 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005188/0.3134, allocations: 359.4 kB / 0.5378 GB, free: 7.805 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005391/0.3139, allocations: 403.3 kB / 0.5381 GB, free: 7.523 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001049/0.314, allocations: 62.28 kB / 0.5382 GB, free: 7.523 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001295/0.3142, allocations: 70.09 kB / 0.5383 GB, free: 7.52 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002205/0.3144, allocations: 202.4 kB / 0.5385 GB, free: 7.367 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003013/0.3147, allocations: 339.7 kB / 0.5388 GB, free: 7.098 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008704/0.3156, allocations: 0.7871 MB / 0.5396 GB, free: 6.5 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3156, allocations: 3.938 kB / 0.5396 GB, free: 6.496 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3156, allocations: 1.031 kB / 0.5396 GB, free: 6.496 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.068e-05/0.3156, allocations: 0 / 0.5396 GB, free: 6.496 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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.002327/0.318, allocations: 1.182 MB / 0.5407 GB, free: 5.574 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.318, allocations: 14.14 kB / 0.5407 GB, free: 5.57 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.729e-05/0.3181, allocations: 86.25 kB / 0.5408 GB, free: 5.492 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002472/0.3184, allocations: 106.2 kB / 0.5409 GB, free: 5.438 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009175/0.3193, allocations: 0.5921 MB / 0.5415 GB, free: 4.945 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.909e-05/0.3193, allocations: 37.59 kB / 0.5415 GB, free: 4.93 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.505e-05/0.3194, allocations: 51.28 kB / 0.5416 GB, free: 4.914 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001131/0.3206, allocations: 0.6209 MB / 0.5422 GB, free: 4.469 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.958e-05/0.3206, allocations: 1.281 kB / 0.5422 GB, free: 4.469 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.832e-05/0.3207, allocations: 17.44 kB / 0.5422 GB, free: 4.457 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.454e-05/0.3207, allocations: 12.62 kB / 0.5422 GB, free: 4.457 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001083/0.3218, allocations: 464.8 kB / 0.5427 GB, free: 4.246 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003631/0.3254, allocations: 2.656 MB / 0.5452 GB, free: 2.039 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001147/0.3266, allocations: 0.549 MB / 0.5458 GB, free: 1.734 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005667/0.3272, allocations: 253.2 kB / 0.546 GB, free: 1.602 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.082e-05/0.3272, allocations: 12.44 kB / 0.546 GB, free: 1.594 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.594e-05/0.3273, allocations: 42.58 kB / 0.5461 GB, free: 1.543 MB / 398.1 MB Notification: Performance of pre-optimization done (n=43): time 2.364e-06/0.3273, allocations: 0 / 0.5461 GB, free: 1.543 MB / 398.1 MB Notification: Performance of matching and sorting (n=44): time 0.002582/0.3299, allocations: 1.164 MB / 0.5472 GB, free: 380 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.925e-05/0.33, allocations: 162.2 kB / 0.5474 GB, free: 180 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008943/0.3309, allocations: 0.6528 MB / 0.548 GB, free: 15.51 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.472e-05/0.3309, allocations: 37.7 kB / 0.548 GB, free: 15.47 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000285/0.3312, allocations: 364.5 kB / 0.5484 GB, free: 15.11 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001564/0.3314, allocations: 178.5 kB / 0.5486 GB, free: 14.93 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001969/0.3316, allocations: 126.3 kB / 0.5487 GB, free: 14.8 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.3317, allocations: 329.9 kB / 0.549 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000644/0.3324, allocations: 271.3 kB / 0.5493 GB, free: 14.2 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000779/0.3332, allocations: 433.5 kB / 0.5497 GB, free: 13.71 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001349/0.3345, allocations: 0.6801 MB / 0.5503 GB, free: 12.97 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.3345, allocations: 4 kB / 0.5503 GB, free: 12.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001657/0.3362, allocations: 0.802 MB / 0.5511 GB, free: 12.16 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.3362, allocations: 8 kB / 0.5511 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.749e-06/0.3363, allocations: 4.531 kB / 0.5511 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.45e-05/0.3363, allocations: 8 kB / 0.5511 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006777/0.337, allocations: 155.7 kB / 0.5513 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.345e-05/0.337, allocations: 7.938 kB / 0.5513 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005112/0.3375, allocations: 79.67 kB / 0.5514 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.914e-05/0.3376, allocations: 28 kB / 0.5514 GB, free: 11.88 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007663/0.3384, allocations: 409.3 kB / 0.5518 GB, free: 11.47 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007142/0.3391, allocations: 421.2 kB / 0.5522 GB, free: 10.99 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001251/0.3403, allocations: 0.6571 MB / 0.5528 GB, free: 10.27 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.468e-06/0.3404, allocations: 3.984 kB / 0.5528 GB, free: 10.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=77) (initialization_lambda0): time 0.001552/0.3419, allocations: 0.7742 MB / 0.5536 GB, free: 9.488 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.3419, allocations: 12.09 kB / 0.5536 GB, free: 9.477 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.3419, allocations: 4 kB / 0.5536 GB, free: 9.473 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.756e-06/0.342, allocations: 8 kB / 0.5536 GB, free: 9.465 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005931/0.3426, allocations: 139.8 kB / 0.5537 GB, free: 9.328 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.609e-05/0.3426, allocations: 15.88 kB / 0.5538 GB, free: 9.312 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004939/0.3431, allocations: 87.61 kB / 0.5538 GB, free: 9.227 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.534e-05/0.3431, allocations: 24 kB / 0.5539 GB, free: 9.203 MB / 414.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: 4 (limPID.I.local_reset,pID.I.local_reset,limIntegrator.local_reset,integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 77 * 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.0001928/0.3433, allocations: 212.1 kB / 0.5541 GB, free: 8.988 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001434/0.3435, allocations: 75.53 kB / 0.5541 GB, free: 8.914 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001964/0.3437, allocations: 90.2 kB / 0.5542 GB, free: 8.824 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/0.3437, allocations: 7.938 kB / 0.5542 GB, free: 8.816 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.238e-05/0.3437, allocations: 4 kB / 0.5542 GB, free: 8.812 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.3437, allocations: 7.922 kB / 0.5542 GB, free: 8.805 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00131/0.3451, allocations: 0.8571 MB / 0.5551 GB, free: 7.891 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.3451, allocations: 3.938 kB / 0.5551 GB, free: 7.887 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006247/0.3457, allocations: 103.9 kB / 0.5552 GB, free: 7.785 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.3457, allocations: 0 / 0.5552 GB, free: 7.785 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.401e-05/0.3458, allocations: 19.98 kB / 0.5552 GB, free: 7.766 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.614e-06/0.3458, allocations: 0 / 0.5552 GB, free: 7.766 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.3458, allocations: 8 kB / 0.5552 GB, free: 7.758 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002031/0.3478, allocations: 1.136 MB / 0.5563 GB, free: 6.602 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002315/0.3481, allocations: 204.4 kB / 0.5565 GB, free: 6.383 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.375e-05/0.3482, allocations: 12 kB / 0.5565 GB, free: 6.371 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005311/0.3487, allocations: 47.94 kB / 0.5566 GB, free: 6.324 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/0.3488, allocations: 43.88 kB / 0.5566 GB, free: 6.281 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.927e-05/0.3489, allocations: 8 kB / 0.5566 GB, free: 6.273 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006391/0.3495, allocations: 467 kB / 0.5571 GB, free: 5.824 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3495, allocations: 0 / 0.5571 GB, free: 5.824 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007245/0.3502, allocations: 188 kB / 0.5573 GB, free: 5.641 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (limPID.I.y,limPID.D.x,transferFunction.x_scaled[1],stateSpace.x[1],stateSpace.x[2],lowpassButterworth.x1[1],lowpassButterworth.x2[1],criticalDamping.x[1],criticalDamping.x[2],integrator.y,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,pI.x,pID.I.y,pID.D.x) * 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 (44): * Single equations (assignments): 44 * 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.002358/0.3526, allocations: 1.703 MB / 0.5589 GB, free: 3.91 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002095/0.3547, allocations: 0.9512 MB / 0.5598 GB, free: 2.961 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3547, allocations: 0 / 0.5598 GB, free: 2.961 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006344/0.3554, allocations: 284.6 kB / 0.5601 GB, free: 2.684 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001039/0.3564, allocations: 187.3 kB / 0.5603 GB, free: 2.504 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01023/0.3667, allocations: 6.65 MB / 0.5668 GB, free: 11.59 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005727/0.3673, allocations: 0.9458 MB / 0.5677 GB, free: 10.62 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004932/0.3678, allocations: 152.7 kB / 0.5679 GB, free: 10.47 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003794/0.3681, allocations: 259.3 kB / 0.5681 GB, free: 10.22 MB / 430.1 MB Notification: Performance of SimCode: time 4.2e-07/0.3681, allocations: 0 / 0.5681 GB, free: 10.22 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04108/0.4092, allocations: 14.55 MB / 0.5823 GB, free: 11.77 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.86/9.269, allocations: 4.062 kB / 0.5823 GB, free: 11.77 MB / 446.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.Continuous.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.Continuous.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.Continuous.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.Continuous.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_Continuous_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_Continuous.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.Continuous.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/Continuous/Continuous.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.Continuous.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches