Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.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.00162/0.00162, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.002013/0.002013, allocations: 213.5 kB / 24.52 MB, free: 3.91 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.525/1.525, allocations: 230.5 MB / 258.2 MB, free: 7.777 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.2478/0.2478, allocations: 46.95 MB / 361.6 MB, free: 3.898 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.Sources,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Sources",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Sources,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Sources",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002387/0.002387, allocations: 79.86 kB / 0.4969 GB, free: 7.535 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.3334, allocations: 66.09 MB / 0.5614 GB, free: 4.02 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.00425/0.3377, allocations: 2.501 MB / 0.5639 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001796/0.3394, allocations: 0.7439 MB / 0.5646 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002671/0.3397, allocations: 4 kB / 0.5646 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003133/0.34, allocations: 75.36 kB / 0.5647 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003478/0.3404, allocations: 107.2 kB / 0.5648 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003407/0.3407, allocations: 111.8 kB / 0.5649 GB, free: 480 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005322/0.3413, allocations: 422.3 kB / 0.5653 GB, free: 56 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003001/0.3416, allocations: 107.8 kB / 0.5654 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002377/0.3418, allocations: 147.4 kB / 0.5655 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002336/0.342, allocations: 179.1 kB / 0.5657 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.052e-05/0.3421, allocations: 32 kB / 0.5657 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.854e-05/0.3421, allocations: 32 kB / 0.5658 GB, free: 15.56 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.045e-05/0.3422, allocations: 75.77 kB / 0.5658 GB, free: 15.49 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001603/0.3424, allocations: 151.2 kB / 0.566 GB, free: 15.34 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000496/0.3429, allocations: 432.1 kB / 0.5664 GB, free: 14.92 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.3429, allocations: 4 kB / 0.5664 GB, free: 14.91 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3429, allocations: 4 kB / 0.5664 GB, free: 14.91 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.286e-06/0.3429, allocations: 0 / 0.5664 GB, free: 14.91 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001107/0.344, allocations: 0.6066 MB / 0.567 GB, free: 14.27 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.344, allocations: 8.031 kB / 0.567 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.16e-05/0.3441, allocations: 13.19 kB / 0.567 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.189e-05/0.3441, allocations: 70.72 kB / 0.5671 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.273e-05/0.3442, allocations: 40.7 kB / 0.5671 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003988/0.3446, allocations: 228.8 kB / 0.5673 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.775e-05/0.3446, allocations: 25.38 kB / 0.5674 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.391e-05/0.3447, allocations: 36.38 kB / 0.5674 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000729/0.3454, allocations: 361.8 kB / 0.5677 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.3454, allocations: 0 / 0.5677 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.532e-05/0.3455, allocations: 20 kB / 0.5678 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/0.3455, allocations: 8 kB / 0.5678 GB, free: 13.42 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006544/0.3461, allocations: 259.8 kB / 0.568 GB, free: 13.17 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00219/0.3483, allocations: 1.234 MB / 0.5692 GB, free: 11.85 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000515/0.3488, allocations: 186.6 kB / 0.5694 GB, free: 11.63 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002177/0.3491, allocations: 79.5 kB / 0.5695 GB, free: 11.54 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.043e-05/0.3491, allocations: 7.984 kB / 0.5695 GB, free: 11.53 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.488e-05/0.3491, allocations: 42.55 kB / 0.5695 GB, free: 11.48 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 1.893e-06/0.3491, allocations: 4 kB / 0.5695 GB, free: 11.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008055/0.3499, allocations: 253.1 kB / 0.5698 GB, free: 11.22 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.752e-05/0.35, allocations: 128.5 kB / 0.5699 GB, free: 11.07 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003925/0.3504, allocations: 341.7 kB / 0.5702 GB, free: 10.72 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.908e-05/0.3504, allocations: 29.7 kB / 0.5702 GB, free: 10.69 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001835/0.3506, allocations: 252.3 kB / 0.5705 GB, free: 10.44 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.996e-05/0.3507, allocations: 55.52 kB / 0.5705 GB, free: 10.38 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/0.3508, allocations: 53.94 kB / 0.5706 GB, free: 10.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001855/0.351, allocations: 346.8 kB / 0.5709 GB, free: 9.973 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002353/0.3512, allocations: 76.5 kB / 0.571 GB, free: 9.898 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003187/0.3515, allocations: 176.1 kB / 0.5712 GB, free: 9.688 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005303/0.3521, allocations: 254.9 kB / 0.5714 GB, free: 9.398 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.3521, allocations: 0 / 0.5714 GB, free: 9.398 MB / 414.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006833/0.3527, allocations: 309.1 kB / 0.5717 GB, free: 9.09 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.3528, allocations: 4 kB / 0.5717 GB, free: 9.086 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.3528, allocations: 4 kB / 0.5717 GB, free: 9.082 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.3528, allocations: 4.25 kB / 0.5717 GB, free: 9.078 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000429/0.3532, allocations: 95.88 kB / 0.5718 GB, free: 8.984 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.704e-05/0.3532, allocations: 11.92 kB / 0.5718 GB, free: 8.973 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002848/0.3535, allocations: 44.28 kB / 0.5719 GB, free: 8.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.53e-05/0.3536, allocations: 12 kB / 0.5719 GB, free: 8.918 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (34): * Single equations (assignments): 34 * 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.0001786/0.3537, allocations: 155 kB / 0.572 GB, free: 8.758 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/0.3538, allocations: 31.81 kB / 0.5721 GB, free: 8.727 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.655e-05/0.3539, allocations: 34.48 kB / 0.5721 GB, free: 8.691 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.3539, allocations: 8 kB / 0.5721 GB, free: 8.684 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.3539, allocations: 4 kB / 0.5721 GB, free: 8.68 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.3539, allocations: 0 / 0.5721 GB, free: 8.68 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008917/0.3548, allocations: 0.536 MB / 0.5726 GB, free: 8.078 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.3548, allocations: 7.984 kB / 0.5726 GB, free: 8.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002855/0.3551, allocations: 52.11 kB / 0.5727 GB, free: 8.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.779e-06/0.3551, allocations: 15.88 kB / 0.5727 GB, free: 8.004 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.697e-05/0.3551, allocations: 4 kB / 0.5727 GB, free: 8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/0.3552, allocations: 3.984 kB / 0.5727 GB, free: 7.996 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.3552, allocations: 4 kB / 0.5727 GB, free: 7.992 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006036/0.3558, allocations: 397.2 kB / 0.5731 GB, free: 7.574 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.664e-05/0.3558, allocations: 35.8 kB / 0.5731 GB, free: 7.539 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.209e-05/0.3559, allocations: 11.94 kB / 0.5731 GB, free: 7.527 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002306/0.3561, allocations: 15.98 kB / 0.5731 GB, free: 7.512 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.571e-05/0.3562, allocations: 16.25 kB / 0.5732 GB, free: 7.496 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.3562, allocations: 4 kB / 0.5732 GB, free: 7.492 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002679/0.3564, allocations: 235.2 kB / 0.5734 GB, free: 7.262 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3564, allocations: 0 / 0.5734 GB, free: 7.262 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004215/0.3569, allocations: 75.83 kB / 0.5735 GB, free: 7.188 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (15): * Single equations (assignments): 15 * 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.0008929/0.3578, allocations: 0.9343 MB / 0.5744 GB, free: 6.207 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005682/0.3583, allocations: 204 kB / 0.5746 GB, free: 6.008 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3583, allocations: 0 / 0.5746 GB, free: 6.008 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002456/0.3586, allocations: 75.95 kB / 0.5746 GB, free: 5.934 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004709/0.359, allocations: 23.47 kB / 0.5747 GB, free: 5.914 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004439/0.3635, allocations: 2.997 MB / 0.5776 GB, free: 2.734 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001798/0.3637, allocations: 168.8 kB / 0.5777 GB, free: 2.547 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001142/0.3638, allocations: 21.94 kB / 0.5778 GB, free: 2.527 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00017/0.3639, allocations: 111.4 kB / 0.5779 GB, free: 2.418 MB / 414.1 MB Notification: Performance of SimCode: time 8.81e-07/0.364, allocations: 0 / 0.5779 GB, free: 2.418 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02608/0.39, allocations: 5.267 MB / 0.583 GB, free: 13.29 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.96/12.35, allocations: 11.98 kB / 0.583 GB, free: 13.27 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Sources_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Sources.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Sources/Sources.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.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: 15.460933994036168]