Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.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.001788/0.001788, 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.002263/0.002263, allocations: 214 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.485/1.485, allocations: 230.5 MB / 257.4 MB, free: 8.035 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.2516/0.2516, allocations: 46.93 MB / 360.8 MB, free: 4.215 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.QuasiStatic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002303/0.002303, allocations: 83.88 kB / 0.4962 GB, free: 7.805 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.329, allocations: 66.09 MB / 0.5607 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.004418/0.3334, allocations: 2.507 MB / 0.5632 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002132/0.3355, allocations: 1.117 MB / 0.5643 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001064/0.3357, allocations: 4 kB / 0.5643 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001445/0.3371, allocations: 0.4978 MB / 0.5648 GB, free: 164 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003277/0.3374, allocations: 107.3 kB / 0.5649 GB, free: 56 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001053/0.3385, allocations: 498 kB / 0.5653 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000356/0.3388, allocations: 231 kB / 0.5656 GB, free: 15.34 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000493/0.3393, allocations: 224.4 kB / 0.5658 GB, free: 15.12 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002153/0.3395, allocations: 103.6 kB / 0.5659 GB, free: 15.02 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001778/0.3397, allocations: 119.5 kB / 0.566 GB, free: 14.9 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.177e-05/0.3398, allocations: 24 kB / 0.566 GB, free: 14.88 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003327/0.3401, allocations: 159.8 kB / 0.5662 GB, free: 14.72 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.075e-05/0.3401, allocations: 47.84 kB / 0.5662 GB, free: 14.68 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001286/0.3403, allocations: 111.5 kB / 0.5663 GB, free: 14.57 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006173/0.3409, allocations: 410.5 kB / 0.5667 GB, free: 14.16 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3409, allocations: 0 / 0.5667 GB, free: 14.16 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3409, allocations: 0 / 0.5667 GB, free: 14.16 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.231e-05/0.3409, allocations: 4 kB / 0.5667 GB, free: 14.16 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001327/0.3422, allocations: 0.5482 MB / 0.5672 GB, free: 13.58 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.3423, allocations: 8.031 kB / 0.5672 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.4e-05/0.3424, allocations: 62.72 kB / 0.5673 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003294/0.3427, allocations: 52.77 kB / 0.5674 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001727/0.3429, allocations: 134.2 kB / 0.5675 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.894e-05/0.3429, allocations: 24.88 kB / 0.5675 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.774e-05/0.3429, allocations: 24.38 kB / 0.5675 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006256/0.3436, allocations: 290.7 kB / 0.5678 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.3436, allocations: 0 / 0.5678 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.747e-05/0.3436, allocations: 12 kB / 0.5678 GB, free: 12.94 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.3436, allocations: 7.984 kB / 0.5678 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006184/0.3442, allocations: 233.6 kB / 0.568 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001616/0.3459, allocations: 0.9455 MB / 0.569 GB, free: 11.7 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004701/0.3463, allocations: 201 kB / 0.5692 GB, free: 11.48 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003612/0.3467, allocations: 129.7 kB / 0.5693 GB, free: 11.35 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001197/0.3468, allocations: 15.98 kB / 0.5693 GB, free: 11.33 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/0.3468, allocations: 34.56 kB / 0.5693 GB, free: 11.29 MB / 414.1 MB Notification: Performance of pre-optimization done (n=19): time 1.493e-06/0.3468, allocations: 0 / 0.5693 GB, free: 11.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001153/0.348, allocations: 353.5 kB / 0.5697 GB, free: 10.93 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.499e-05/0.348, allocations: 81.09 kB / 0.5697 GB, free: 10.84 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001337/0.3482, allocations: 142 kB / 0.5699 GB, free: 10.69 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.544e-05/0.3482, allocations: 29.7 kB / 0.5699 GB, free: 10.65 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.822e-05/0.3483, allocations: 148.2 kB / 0.5701 GB, free: 10.5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.771e-05/0.3484, allocations: 67.39 kB / 0.5701 GB, free: 10.44 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.338e-05/0.3484, allocations: 41.7 kB / 0.5702 GB, free: 10.39 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.3486, allocations: 318.8 kB / 0.5705 GB, free: 10.07 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002139/0.3488, allocations: 75.94 kB / 0.5705 GB, free: 9.996 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002434/0.349, allocations: 122.1 kB / 0.5707 GB, free: 9.855 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004467/0.3495, allocations: 205.8 kB / 0.5708 GB, free: 9.633 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3495, allocations: 0 / 0.5708 GB, free: 9.633 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006369/0.3501, allocations: 281 kB / 0.5711 GB, free: 9.348 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.3502, allocations: 8 kB / 0.5711 GB, free: 9.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.3502, allocations: 0 / 0.5711 GB, free: 9.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002341/0.3504, allocations: 49.88 kB / 0.5712 GB, free: 9.285 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002178/0.3506, allocations: 51.91 kB / 0.5712 GB, free: 9.234 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002326/0.3529, allocations: 2.641 MB / 0.5738 GB, free: 6.359 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000165/0.3531, allocations: 31.95 kB / 0.5738 GB, free: 6.328 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.3531, allocations: 11.94 kB / 0.5738 GB, free: 6.316 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001701/0.3533, allocations: 142.5 kB / 0.574 GB, free: 6.172 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.819e-05/0.3534, allocations: 11.95 kB / 0.574 GB, free: 6.16 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006744/0.354, allocations: 262.3 kB / 0.5742 GB, free: 5.891 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.354, allocations: 4 kB / 0.5742 GB, free: 5.887 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.354, allocations: 0 / 0.5742 GB, free: 5.887 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.3541, allocations: 4 kB / 0.5742 GB, free: 5.883 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001232/0.3553, allocations: 0.6256 MB / 0.5749 GB, free: 5.191 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.3553, allocations: 4 kB / 0.5749 GB, free: 5.188 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001741/0.3555, allocations: 31.97 kB / 0.5749 GB, free: 5.156 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001404/0.3556, allocations: 45.77 kB / 0.5749 GB, free: 5.105 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.086e-05/0.3556, allocations: 11.98 kB / 0.5749 GB, free: 5.094 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002363/0.358, allocations: 2.634 MB / 0.5775 GB, free: 2.234 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.389e-06/0.358, allocations: 4 kB / 0.5775 GB, free: 2.23 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/0.359, allocations: 0.5129 MB / 0.578 GB, free: 1.691 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.153e-05/0.3591, allocations: 15.94 kB / 0.578 GB, free: 1.676 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.181e-05/0.3591, allocations: 4 kB / 0.578 GB, free: 1.672 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00019/0.3593, allocations: 19.92 kB / 0.5781 GB, free: 1.652 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.3594, allocations: 32.03 kB / 0.5781 GB, free: 1.621 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/0.3594, allocations: 8 kB / 0.5781 GB, free: 1.613 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001072/0.3595, allocations: 103.3 kB / 0.5782 GB, free: 1.512 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3595, allocations: 0 / 0.5782 GB, free: 1.512 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005816/0.3601, allocations: 71.84 kB / 0.5783 GB, free: 1.441 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (magFluxSource.port_p.reference.gamma) * 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): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (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.001623/0.3617, allocations: 1.082 MB / 0.5793 GB, free: 328 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00102/0.3627, allocations: 415.2 kB / 0.5797 GB, free: 15.89 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.3627, allocations: 7.875 kB / 0.5797 GB, free: 15.88 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005062/0.3632, allocations: 321.2 kB / 0.58 GB, free: 15.54 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005053/0.3637, allocations: 16 kB / 0.58 GB, free: 15.53 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003692/0.3674, allocations: 2.357 MB / 0.5824 GB, free: 13.03 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004388/0.3679, allocations: 0.7401 MB / 0.5831 GB, free: 12.27 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.524e-05/0.3679, allocations: 17.42 kB / 0.5831 GB, free: 12.25 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.368, allocations: 55.42 kB / 0.5831 GB, free: 12.2 MB / 430.1 MB Notification: Performance of SimCode: time 5.11e-07/0.368, allocations: 0 / 0.5831 GB, free: 12.2 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04075/0.4088, allocations: 4.607 MB / 0.5876 GB, free: 7.695 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.88, allocations: 11.92 kB / 0.5877 GB, free: 7.684 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.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.901982164941728]