Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexOperations.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 106.5 kB / 20.37 MB, free: 2.105 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 196.7 kB / 23.52 MB, free: 5.406 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 225.6 MB / 252.1 MB, free: 13.4 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2176/0.2176, allocations: 44.92 MB / 352.1 MB, free: 12.28 MB / 286.1 MB [Timeout remaining time 90] 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: translateModel(ModelicaTest.ComplexMath.TestComplexOperations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexOperations") translateModel(ModelicaTest.ComplexMath.TestComplexOperations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexOperations") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 71.88 kB / 495.6 MB, free: 2.047 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3291/0.331, allocations: 64.25 MB / 0.5467 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexOperations): time 0.001878/0.3329, allocations: 474.5 kB / 0.5472 GB, free: 12.86 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003793/0.3367, allocations: 2.303 MB / 0.5494 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.793e-05/0.3367, allocations: 1.5 kB / 0.5494 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.703e-05/0.3367, allocations: 0 / 0.5494 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.222e-06/0.3367, allocations: 0 / 0.5494 GB, free: 11.06 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/ComplexMath.mo:4:3-189:23:writable] Warning: Pure function 'ModelicaTest.ComplexMath.ComplexFunctions' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.002953/0.3397, allocations: 1.133 MB / 0.5505 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.593e-05/0.3397, allocations: 5.562 kB / 0.5505 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.701e-05/0.3398, allocations: 1.469 kB / 0.5505 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.589e-05/0.3398, allocations: 0 / 0.5505 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.386e-05/0.3398, allocations: 5.266 kB / 0.5505 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.124e-06/0.3398, allocations: 0 / 0.5505 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001708/0.3415, allocations: 0.9988 MB / 0.5515 GB, free: 9.797 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.077e-06/0.3416, allocations: 0 / 0.5515 GB, free: 9.797 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.288e-05/0.3416, allocations: 1.281 kB / 0.5515 GB, free: 9.797 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006879/0.3423, allocations: 420.3 kB / 0.5519 GB, free: 9.555 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.3423, allocations: 0 / 0.5519 GB, free: 9.555 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3423, allocations: 3.938 kB / 0.5519 GB, free: 9.551 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.588e-06/0.3423, allocations: 1.031 kB / 0.5519 GB, free: 9.551 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0005235/0.3428, allocations: 428.3 kB / 0.5523 GB, free: 9.113 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.3428, allocations: 9.625 kB / 0.5523 GB, free: 9.113 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.615e-05/0.3429, allocations: 4.875 kB / 0.5523 GB, free: 9.109 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.343, allocations: 169.5 kB / 0.5525 GB, free: 8.906 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.429e-05/0.343, allocations: 4.375 kB / 0.5525 GB, free: 8.902 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.19e-05/0.343, allocations: 5.406 kB / 0.5525 GB, free: 8.898 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.395e-05/0.3431, allocations: 32.23 kB / 0.5526 GB, free: 8.863 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.3431, allocations: 0 / 0.5526 GB, free: 8.863 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.235e-06/0.3431, allocations: 1.062 kB / 0.5526 GB, free: 8.863 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.3432, allocations: 3.984 kB / 0.5526 GB, free: 8.859 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.926e-05/0.3432, allocations: 2.25 kB / 0.5526 GB, free: 8.859 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001607/0.3433, allocations: 151 kB / 0.5527 GB, free: 8.664 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.653e-05/0.3434, allocations: 15.58 kB / 0.5527 GB, free: 8.641 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.557e-05/0.3434, allocations: 13.7 kB / 0.5527 GB, free: 8.625 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.206e-06/0.3434, allocations: 1.5 kB / 0.5527 GB, free: 8.625 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.291e-05/0.3435, allocations: 61.58 kB / 0.5528 GB, free: 8.551 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.3435, allocations: 0 / 0.5528 GB, free: 8.551 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001832/0.3437, allocations: 62.42 kB / 0.5528 GB, free: 8.484 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.451e-05/0.3437, allocations: 82.48 kB / 0.5529 GB, free: 8.387 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.725e-05/0.3438, allocations: 89.86 kB / 0.553 GB, free: 8.289 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/0.3438, allocations: 25.7 kB / 0.553 GB, free: 8.258 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.595e-05/0.3438, allocations: 85.36 kB / 0.5531 GB, free: 8.172 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.103e-05/0.3438, allocations: 0 / 0.5531 GB, free: 8.172 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.701e-05/0.3439, allocations: 12.12 kB / 0.5531 GB, free: 8.156 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.344, allocations: 311.9 kB / 0.5534 GB, free: 7.844 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.139e-05/0.344, allocations: 3.938 kB / 0.5534 GB, free: 7.84 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.566e-06/0.344, allocations: 10.38 kB / 0.5534 GB, free: 7.832 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.689e-05/0.3441, allocations: 62.44 kB / 0.5535 GB, free: 7.758 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.3441, allocations: 1.156 kB / 0.5535 GB, free: 7.758 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.154e-05/0.3442, allocations: 61.34 kB / 0.5536 GB, free: 7.691 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.786e-05/0.3442, allocations: 35.48 kB / 0.5536 GB, free: 7.656 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3442, allocations: 1.219 kB / 0.5536 GB, free: 7.656 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.3442, allocations: 0 / 0.5536 GB, free: 7.656 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.72e-07/0.3442, allocations: 0 / 0.5536 GB, free: 7.656 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.3442, allocations: 5.203 kB / 0.5536 GB, free: 7.652 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.46e-05/0.3442, allocations: 4.094 kB / 0.5536 GB, free: 7.648 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-06/0.3442, allocations: 1.25 kB / 0.5536 GB, free: 7.648 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001196/0.3444, allocations: 137.8 kB / 0.5537 GB, free: 7.5 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.198e-05/0.3444, allocations: 16.86 kB / 0.5538 GB, free: 7.484 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.188e-05/0.3444, allocations: 7.078 kB / 0.5538 GB, free: 7.477 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.3444, allocations: 1.188 kB / 0.5538 GB, free: 7.477 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.3444, allocations: 0 / 0.5538 GB, free: 7.477 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.3444, allocations: 0 / 0.5538 GB, free: 7.477 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001238/0.3445, allocations: 151.9 kB / 0.5539 GB, free: 7.281 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3445, allocations: 4 kB / 0.5539 GB, free: 7.277 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.31e-07/0.3445, allocations: 0 / 0.5539 GB, free: 7.277 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.3445, allocations: 5.156 kB / 0.5539 GB, free: 7.273 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.451e-06/0.3445, allocations: 0 / 0.5539 GB, free: 7.273 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.3445, allocations: 1.281 kB / 0.5539 GB, free: 7.273 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3445, allocations: 0 / 0.5539 GB, free: 7.273 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001068/0.3446, allocations: 89.2 kB / 0.554 GB, free: 7.172 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.13e-05/0.3447, allocations: 82.33 kB / 0.5541 GB, free: 7.074 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.3447, allocations: 5 kB / 0.5541 GB, free: 7.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.628e-06/0.3447, allocations: 1.281 kB / 0.5541 GB, free: 7.07 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.096e-05/0.3447, allocations: 0 / 0.5541 GB, free: 7.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.905e-05/0.3447, allocations: 5.203 kB / 0.5541 GB, free: 7.066 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.651e-05/0.3448, allocations: 79.22 kB / 0.5542 GB, free: 6.988 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3448, allocations: 0 / 0.5542 GB, free: 6.988 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000483/0.3453, allocations: 147.7 kB / 0.5543 GB, free: 6.938 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0008111/0.3461, allocations: 371.7 kB / 0.5547 GB, free: 6.73 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001119/0.3462, allocations: 60.92 kB / 0.5547 GB, free: 6.664 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3462, allocations: 4.062 kB / 0.5547 GB, free: 6.66 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.94e-05/0.3462, allocations: 54.72 kB / 0.5548 GB, free: 6.598 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001279/0.3464, allocations: 2.094 kB / 0.5548 GB, free: 6.598 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002126/0.3466, allocations: 98.34 kB / 0.5549 GB, free: 6.477 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003284/0.3469, allocations: 0.6781 MB / 0.5555 GB, free: 5.773 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.361e-05/0.3469, allocations: 8.312 kB / 0.5555 GB, free: 5.766 MB / 398.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3469, allocations: 3.938 kB / 0.5555 GB, free: 5.762 MB / 398.1 MB Notification: Performance of Templates: time 0.0071/0.354, allocations: 3.626 MB / 0.5591 GB, free: 2.758 MB / 398.1 MB [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexOperations.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexOperations.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexOperations.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexOperations.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexOperations.sim & ./ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexOperations -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexOperations.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexOperations_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/ComplexMath/TestComplexOperations/TestComplexOperations.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexOperations.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches