Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.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.001899/0.001899, allocations: 114 kB / 20.44 MB, free: 1.469 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.002299/0.002299, allocations: 214.8 kB / 23.74 MB, free: 4.695 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.513/1.513, allocations: 230.5 MB / 257.4 MB, free: 8.031 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.2492/0.2492, allocations: 46.93 MB / 360.8 MB, free: 4.266 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.Magnetic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002621/0.002621, allocations: 79.86 kB / 0.4962 GB, free: 7.781 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3136/0.3162, allocations: 66.09 MB / 0.5607 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.003182/0.3194, allocations: 1.741 MB / 0.5624 GB, free: 2.543 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002048/0.3196, allocations: 87.7 kB / 0.5625 GB, free: 2.457 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.454e-05/0.3196, allocations: 0 / 0.5625 GB, free: 2.457 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.953e-05/0.3197, allocations: 15.8 kB / 0.5625 GB, free: 2.441 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.196e-05/0.3198, allocations: 23.78 kB / 0.5625 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001003/0.3199, allocations: 31.89 kB / 0.5626 GB, free: 2.387 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001619/0.3201, allocations: 107.6 kB / 0.5627 GB, free: 2.281 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001632/0.3202, allocations: 41.8 kB / 0.5627 GB, free: 2.242 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.358e-05/0.3203, allocations: 47.84 kB / 0.5628 GB, free: 2.195 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.186e-05/0.3204, allocations: 47.78 kB / 0.5628 GB, free: 2.148 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.778e-05/0.3204, allocations: 15.98 kB / 0.5628 GB, free: 2.133 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.38e-05/0.3204, allocations: 12 kB / 0.5628 GB, free: 2.121 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.269e-05/0.3205, allocations: 27.91 kB / 0.5629 GB, free: 2.094 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.237e-05/0.3205, allocations: 51.73 kB / 0.5629 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001692/0.3207, allocations: 111.6 kB / 0.563 GB, free: 1.934 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3207, allocations: 0 / 0.563 GB, free: 1.934 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3207, allocations: 4 kB / 0.563 GB, free: 1.93 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.3207, allocations: 0 / 0.563 GB, free: 1.93 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0006224/0.3213, allocations: 341.9 kB / 0.5633 GB, free: 1.562 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.3214, allocations: 12.03 kB / 0.5634 GB, free: 1.551 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.522e-05/0.3214, allocations: 46.67 kB / 0.5634 GB, free: 1.496 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.148e-05/0.3215, allocations: 12.89 kB / 0.5634 GB, free: 1.484 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/0.3216, allocations: 122.3 kB / 0.5635 GB, free: 1.34 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.248e-05/0.3216, allocations: 12.38 kB / 0.5635 GB, free: 1.328 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.951e-05/0.3216, allocations: 8.375 kB / 0.5636 GB, free: 1.32 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003512/0.322, allocations: 122.2 kB / 0.5637 GB, free: 1.195 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.322, allocations: 3.938 kB / 0.5637 GB, free: 1.191 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.322, allocations: 4 kB / 0.5637 GB, free: 1.188 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.322, allocations: 4 kB / 0.5637 GB, free: 1.184 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003788/0.3224, allocations: 107.8 kB / 0.5638 GB, free: 1.078 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008462/0.3232, allocations: 442.5 kB / 0.5642 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002427/0.3235, allocations: 82.53 kB / 0.5643 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002291/0.3237, allocations: 56.94 kB / 0.5643 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.532e-05/0.3237, allocations: 0 / 0.5643 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.337e-05/0.3238, allocations: 46.48 kB / 0.5644 GB, free: 400 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.3238, allocations: 0 / 0.5644 GB, free: 400 kB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007691/0.3245, allocations: 186.3 kB / 0.5646 GB, free: 204 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.412e-05/0.3246, allocations: 51.41 kB / 0.5646 GB, free: 140 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.3247, allocations: 121.8 kB / 0.5647 GB, free: 8 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.6e-05/0.3247, allocations: 29.7 kB / 0.5648 GB, free: 15.97 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.067e-05/0.3248, allocations: 108.2 kB / 0.5649 GB, free: 15.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.413e-05/0.3248, allocations: 23.8 kB / 0.5649 GB, free: 15.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.49e-05/0.3249, allocations: 21.7 kB / 0.5649 GB, free: 15.81 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.325, allocations: 314.8 kB / 0.5652 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000185/0.3252, allocations: 39.95 kB / 0.5652 GB, free: 15.45 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001657/0.3254, allocations: 58.47 kB / 0.5653 GB, free: 15.39 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003095/0.3257, allocations: 94.45 kB / 0.5654 GB, free: 15.29 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3257, allocations: 4 kB / 0.5654 GB, free: 15.28 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004476/0.3261, allocations: 150.6 kB / 0.5655 GB, free: 15.12 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.3261, allocations: 8 kB / 0.5655 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-06/0.3262, allocations: 4 kB / 0.5655 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001356/0.3263, allocations: 20.84 kB / 0.5656 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.3264, allocations: 24.05 kB / 0.5656 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001199/0.3276, allocations: 1.303 MB / 0.5669 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001079/0.3277, allocations: 19.95 kB / 0.5669 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.3277, allocations: 4 kB / 0.5669 GB, free: 13.62 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 4 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001097/0.3278, allocations: 113.8 kB / 0.567 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.231e-05/0.3279, allocations: 11.89 kB / 0.567 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.191e-05/0.3279, allocations: 12.36 kB / 0.567 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.3279, allocations: 0 / 0.567 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.3279, allocations: 4.062 kB / 0.567 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-06/0.3279, allocations: 0 / 0.567 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006981/0.3286, allocations: 391.2 kB / 0.5674 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3286, allocations: 3.938 kB / 0.5674 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.741e-05/0.3287, allocations: 23.95 kB / 0.5674 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.565e-05/0.3288, allocations: 24.84 kB / 0.5674 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.954e-06/0.3288, allocations: 0 / 0.5674 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001095/0.3299, allocations: 1.303 MB / 0.5687 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3299, allocations: 0 / 0.5687 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004597/0.3303, allocations: 245.2 kB / 0.5689 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.584e-05/0.3304, allocations: 7.953 kB / 0.569 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.278e-05/0.3304, allocations: 4 kB / 0.569 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00012/0.3305, allocations: 15.91 kB / 0.569 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.446e-05/0.3305, allocations: 11.98 kB / 0.569 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.509e-06/0.3305, allocations: 0 / 0.569 GB, free: 11.26 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.949e-05/0.3306, allocations: 99.2 kB / 0.5691 GB, free: 11.16 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3306, allocations: 4 kB / 0.5691 GB, free: 11.16 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002692/0.3309, allocations: 31.89 kB / 0.5691 GB, free: 11.13 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (4): * Single equations (assignments): 3 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007567/0.3316, allocations: 0.757 MB / 0.5699 GB, free: 10.34 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004993/0.3321, allocations: 198.6 kB / 0.57 GB, free: 10.13 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3321, allocations: 3.938 kB / 0.57 GB, free: 10.13 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000259/0.3324, allocations: 158.8 kB / 0.5702 GB, free: 9.961 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003196/0.3327, allocations: 11.94 kB / 0.5702 GB, free: 9.949 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002247/0.335, allocations: 1.611 MB / 0.5718 GB, free: 8.238 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003537/0.3353, allocations: 0.6962 MB / 0.5725 GB, free: 7.516 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.008e-05/0.3354, allocations: 7.734 kB / 0.5725 GB, free: 7.508 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.132e-05/0.3354, allocations: 23.44 kB / 0.5725 GB, free: 7.484 MB / 414.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3354, allocations: 4.281 kB / 0.5725 GB, free: 7.48 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03361/0.369, allocations: 2.469 MB / 0.5749 GB, free: 5.117 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/11.95, allocations: 3.438 kB / 0.5749 GB, free: 5.117 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_VariableComponents_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_VariableComponents.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.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.964323117863387]