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.001253/0.001253, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.001378/0.001378, allocations: 216.9 kB / 24.53 MB, free: 4.008 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.473/1.473, allocations: 230.5 MB / 258.2 MB, free: 8.004 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.2577/0.2577, allocations: 46.92 MB / 361.6 MB, free: 4.184 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002261/0.002261, allocations: 75.89 kB / 0.497 GB, free: 7.777 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.3263, allocations: 66.08 MB / 0.5615 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.004492/0.3307, allocations: 2.511 MB / 0.5639 GB, free: 1.793 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002072/0.3328, allocations: 1.114 MB / 0.565 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001026/0.3329, allocations: 8 kB / 0.565 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001353/0.3343, allocations: 0.4979 MB / 0.5655 GB, free: 168 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003333/0.3346, allocations: 111.2 kB / 0.5656 GB, free: 56 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001001/0.3356, allocations: 494.1 kB / 0.5661 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003445/0.336, allocations: 234.2 kB / 0.5663 GB, free: 15.34 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004417/0.3364, allocations: 220.4 kB / 0.5665 GB, free: 15.13 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00022/0.3366, allocations: 103.6 kB / 0.5666 GB, free: 15.03 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001788/0.3368, allocations: 131.5 kB / 0.5668 GB, free: 14.9 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.409e-05/0.3368, allocations: 23.94 kB / 0.5668 GB, free: 14.88 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003429/0.3372, allocations: 155.9 kB / 0.5669 GB, free: 14.72 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.884e-05/0.3372, allocations: 55.78 kB / 0.567 GB, free: 14.67 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001223/0.3373, allocations: 111.5 kB / 0.5671 GB, free: 14.56 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005899/0.3379, allocations: 402.5 kB / 0.5675 GB, free: 14.16 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.3379, allocations: 0 / 0.5675 GB, free: 14.16 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3379, allocations: 0 / 0.5675 GB, free: 14.16 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.3379, allocations: 0 / 0.5675 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.001389/0.3393, allocations: 0.556 MB / 0.568 GB, free: 13.58 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.3394, allocations: 12.03 kB / 0.568 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.139e-05/0.3394, allocations: 4.688 kB / 0.568 GB, free: 13.56 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.787e-05/0.3395, allocations: 62.72 kB / 0.5681 GB, free: 13.49 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003302/0.3398, allocations: 52.7 kB / 0.5681 GB, free: 13.44 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.3399, allocations: 126.3 kB / 0.5683 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.329e-05/0.34, allocations: 20.88 kB / 0.5683 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.247e-05/0.34, allocations: 24.38 kB / 0.5683 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006377/0.3407, allocations: 302.4 kB / 0.5686 GB, free: 12.94 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.3407, allocations: 0 / 0.5686 GB, free: 12.94 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.804e-05/0.3407, allocations: 12 kB / 0.5686 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.3407, allocations: 4 kB / 0.5686 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005975/0.3413, allocations: 229.6 kB / 0.5688 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001665/0.343, allocations: 0.9416 MB / 0.5697 GB, free: 11.7 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005001/0.3435, allocations: 207 kB / 0.5699 GB, free: 11.48 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003725/0.3438, allocations: 121.7 kB / 0.5701 GB, free: 11.35 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001253/0.344, allocations: 23.98 kB / 0.5701 GB, free: 11.33 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/0.344, allocations: 34.56 kB / 0.5701 GB, free: 11.29 MB / 414.1 MB Notification: Performance of pre-optimization done (n=19): time 1.473e-06/0.344, allocations: 0 / 0.5701 GB, free: 11.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001245/0.3452, allocations: 355.3 kB / 0.5705 GB, free: 10.93 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.367e-05/0.3453, allocations: 81.09 kB / 0.5705 GB, free: 10.83 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001537/0.3455, allocations: 140.2 kB / 0.5707 GB, free: 10.68 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.812e-05/0.3455, allocations: 33.81 kB / 0.5707 GB, free: 10.64 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.3456, allocations: 144.2 kB / 0.5708 GB, free: 10.5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.558e-05/0.3457, allocations: 71.39 kB / 0.5709 GB, free: 10.43 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.832e-05/0.3458, allocations: 41.73 kB / 0.5709 GB, free: 10.38 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001711/0.3459, allocations: 322.8 kB / 0.5712 GB, free: 10.06 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002504/0.3462, allocations: 75.94 kB / 0.5713 GB, free: 9.984 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002574/0.3464, allocations: 118 kB / 0.5714 GB, free: 9.848 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004754/0.3469, allocations: 201.8 kB / 0.5716 GB, free: 9.629 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3469, allocations: 0 / 0.5716 GB, free: 9.629 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006826/0.3476, allocations: 285.2 kB / 0.5719 GB, free: 9.34 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.159e-05/0.3476, allocations: 8 kB / 0.5719 GB, free: 9.332 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.3476, allocations: 0 / 0.5719 GB, free: 9.332 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002172/0.3479, allocations: 49.69 kB / 0.572 GB, free: 9.277 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002049/0.3481, allocations: 43.91 kB / 0.572 GB, free: 9.234 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002414/0.3505, allocations: 2.637 MB / 0.5746 GB, free: 6.363 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000189/0.3507, allocations: 35.77 kB / 0.5746 GB, free: 6.328 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.678e-05/0.3507, allocations: 7.938 kB / 0.5746 GB, free: 6.32 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.0002482/0.3509, allocations: 143.2 kB / 0.5747 GB, free: 6.172 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.388e-05/0.351, allocations: 7.953 kB / 0.5748 GB, free: 6.164 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007189/0.3517, allocations: 274.5 kB / 0.575 GB, free: 5.883 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.3517, allocations: 4 kB / 0.575 GB, free: 5.879 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.3517, allocations: 0 / 0.575 GB, free: 5.879 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.3517, allocations: 4 kB / 0.575 GB, free: 5.875 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001218/0.353, allocations: 0.6178 MB / 0.5756 GB, free: 5.191 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.353, allocations: 7.938 kB / 0.5756 GB, free: 5.184 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001817/0.3531, allocations: 35.91 kB / 0.5757 GB, free: 5.148 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001426/0.3533, allocations: 45.7 kB / 0.5757 GB, free: 5.098 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.29e-05/0.3533, allocations: 7.984 kB / 0.5757 GB, free: 5.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002313/0.3556, allocations: 2.638 MB / 0.5783 GB, free: 2.227 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.3556, allocations: 0 / 0.5783 GB, free: 2.227 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001019/0.3566, allocations: 0.5207 MB / 0.5788 GB, free: 1.68 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.008e-05/0.3567, allocations: 20 kB / 0.5788 GB, free: 1.66 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.367e-05/0.3567, allocations: 4 kB / 0.5788 GB, free: 1.656 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000196/0.3569, allocations: 15.92 kB / 0.5788 GB, free: 1.641 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.645e-05/0.357, allocations: 27.84 kB / 0.5789 GB, free: 1.613 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.759e-05/0.357, allocations: 11.98 kB / 0.5789 GB, free: 1.602 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.296e-05/0.3571, allocations: 103.3 kB / 0.579 GB, free: 1.5 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3571, allocations: 3.938 kB / 0.579 GB, free: 1.496 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004792/0.3576, allocations: 75.84 kB / 0.5791 GB, free: 1.422 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.001482/0.359, allocations: 1.066 MB / 0.5801 GB, free: 324 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008531/0.3599, allocations: 414.6 kB / 0.5805 GB, free: 15.89 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.3599, allocations: 384 / 0.5805 GB, free: 15.89 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004682/0.3604, allocations: 329.2 kB / 0.5808 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.0004632/0.3608, allocations: 12.14 kB / 0.5808 GB, free: 15.53 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003934/0.3648, allocations: 2.369 MB / 0.5831 GB, free: 13.02 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004804/0.3652, allocations: 0.74 MB / 0.5839 GB, free: 12.25 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.145e-05/0.3653, allocations: 17.41 kB / 0.5839 GB, free: 12.24 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/0.3655, allocations: 59.42 kB / 0.5839 GB, free: 12.18 MB / 430.1 MB Notification: Performance of SimCode: time 1.222e-06/0.3655, allocations: 0 / 0.5839 GB, free: 12.18 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03308/0.3985, allocations: 4.633 MB / 0.5885 GB, free: 7.664 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.88/12.28, allocations: 4.062 kB / 0.5885 GB, free: 7.66 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: 15.441368907981087]