Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.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.001358/0.001358, allocations: 114 kB / 20.43 MB, free: 1.457 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.001494/0.001494, allocations: 214.7 kB / 23.75 MB, free: 4.672 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.436/1.436, allocations: 230.5 MB / 257.4 MB, free: 7.996 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.2261/0.2261, allocations: 46.92 MB / 360.8 MB, free: 4.168 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.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002339/0.002339, allocations: 75.88 kB / 0.4962 GB, free: 7.742 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2959/0.2983, allocations: 66.07 MB / 0.5607 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.007239/0.3055, allocations: 5.374 MB / 0.566 GB, free: 14.89 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003089/0.3086, allocations: 1.674 MB / 0.5676 GB, free: 13.2 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002773/0.3089, allocations: 20 kB / 0.5676 GB, free: 13.18 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003811/0.3127, allocations: 1.602 MB / 0.5692 GB, free: 11.58 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007929/0.3135, allocations: 317.6 kB / 0.5695 GB, free: 11.27 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001134/0.3146, allocations: 0.5209 MB / 0.57 GB, free: 10.75 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009079/0.3155, allocations: 0.8008 MB / 0.5708 GB, free: 9.941 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001079/0.3166, allocations: 0.6369 MB / 0.5714 GB, free: 9.285 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005279/0.3171, allocations: 358.7 kB / 0.5717 GB, free: 8.934 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006671/0.3178, allocations: 466.2 kB / 0.5722 GB, free: 8.477 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001177/0.3179, allocations: 76 kB / 0.5723 GB, free: 8.402 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004436/0.3183, allocations: 195.9 kB / 0.5725 GB, free: 8.211 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001521/0.3185, allocations: 171.3 kB / 0.5726 GB, free: 8.043 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000404/0.3189, allocations: 429.9 kB / 0.573 GB, free: 7.621 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00145/0.3203, allocations: 1.179 MB / 0.5742 GB, free: 6.438 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.3204, allocations: 0 / 0.5742 GB, free: 6.438 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3204, allocations: 0 / 0.5742 GB, free: 6.438 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.228e-05/0.3204, allocations: 0 / 0.5742 GB, free: 6.438 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: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.003507/0.3239, allocations: 1.304 MB / 0.5755 GB, free: 5.102 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.3239, allocations: 8.031 kB / 0.5755 GB, free: 5.094 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001835/0.3241, allocations: 148.4 kB / 0.5756 GB, free: 4.941 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001639/0.3257, allocations: 236.2 kB / 0.5758 GB, free: 4.711 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002417/0.326, allocations: 209.4 kB / 0.576 GB, free: 4.484 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.119e-05/0.326, allocations: 74.38 kB / 0.5761 GB, free: 4.41 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000156/0.3262, allocations: 99.94 kB / 0.5762 GB, free: 4.312 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001623/0.3278, allocations: 0.936 MB / 0.5771 GB, free: 3.359 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.72e-05/0.3279, allocations: 7.953 kB / 0.5771 GB, free: 3.352 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.07e-05/0.3279, allocations: 44 kB / 0.5772 GB, free: 3.309 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.443e-05/0.328, allocations: 27.94 kB / 0.5772 GB, free: 3.281 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001372/0.3293, allocations: 0.7222 MB / 0.5779 GB, free: 2.559 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005539/0.3349, allocations: 3.688 MB / 0.5815 GB, free: 14.58 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001656/0.3365, allocations: 0.7718 MB / 0.5822 GB, free: 13.79 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004126/0.3369, allocations: 265.6 kB / 0.5825 GB, free: 13.52 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001008/0.337, allocations: 28.28 kB / 0.5825 GB, free: 13.49 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.969e-05/0.3371, allocations: 46.89 kB / 0.5826 GB, free: 13.44 MB / 430.1 MB Notification: Performance of pre-optimization done (n=66): time 2.305e-06/0.3371, allocations: 0 / 0.5826 GB, free: 13.44 MB / 430.1 MB Notification: Performance of matching and sorting (n=66): time 0.002752/0.3398, allocations: 1.017 MB / 0.5836 GB, free: 12.41 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.338e-05/0.3399, allocations: 140.5 kB / 0.5837 GB, free: 12.24 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004141/0.3404, allocations: 312.1 kB / 0.584 GB, free: 11.93 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.23e-05/0.3404, allocations: 45.7 kB / 0.584 GB, free: 11.88 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002849/0.3407, allocations: 407.8 kB / 0.5844 GB, free: 11.47 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001987/0.3409, allocations: 238 kB / 0.5847 GB, free: 11.23 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002135/0.3411, allocations: 154.6 kB / 0.5848 GB, free: 11.08 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.3413, allocations: 350.7 kB / 0.5851 GB, free: 10.73 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003608/0.3416, allocations: 201.9 kB / 0.5853 GB, free: 10.53 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005345/0.3422, allocations: 405.9 kB / 0.5857 GB, free: 10.05 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009929/0.3431, allocations: 0.622 MB / 0.5863 GB, free: 9.348 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.311e-06/0.3432, allocations: 4 kB / 0.5863 GB, free: 9.344 MB / 430.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001693/0.3448, allocations: 0.8698 MB / 0.5872 GB, free: 8.457 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.3449, allocations: 8 kB / 0.5872 GB, free: 8.449 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/0.3449, allocations: 8 kB / 0.5872 GB, free: 8.441 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006728/0.3456, allocations: 227.4 kB / 0.5874 GB, free: 8.207 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005157/0.3461, allocations: 139.8 kB / 0.5875 GB, free: 8.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006982/0.3531, allocations: 6.301 MB / 0.5937 GB, free: 1.309 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006376/0.3537, allocations: 83.41 kB / 0.5938 GB, free: 1.227 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-05/0.3538, allocations: 31.98 kB / 0.5938 GB, free: 1.195 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (82): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,8,100.0%), (1,8,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003892/0.3542, allocations: 221.6 kB / 0.594 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001605/0.3543, allocations: 47.72 kB / 0.5941 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001415/0.3557, allocations: 0.6996 MB / 0.5947 GB, free: 208 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/0.3558, allocations: 8 kB / 0.5947 GB, free: 200 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-05/0.3558, allocations: 4 kB / 0.5948 GB, free: 196 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.028e-05/0.3558, allocations: 0 / 0.5948 GB, free: 196 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003024/0.3588, allocations: 1.526 MB / 0.5962 GB, free: 14.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/0.3588, allocations: 8 kB / 0.5963 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002773/0.3591, allocations: 67.91 kB / 0.5963 GB, free: 14.53 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005712/0.3597, allocations: 215.2 kB / 0.5965 GB, free: 14.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.227e-05/0.3597, allocations: 16 kB / 0.5965 GB, free: 14.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006411/0.3661, allocations: 6.3 MB / 0.6027 GB, free: 7.531 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.3661, allocations: 0 / 0.6027 GB, free: 7.531 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001875/0.368, allocations: 1.195 MB / 0.6039 GB, free: 6.309 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001576/0.3682, allocations: 43.8 kB / 0.6039 GB, free: 6.266 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.133e-05/0.3682, allocations: 19.98 kB / 0.6039 GB, free: 6.246 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003589/0.3686, allocations: 16 kB / 0.6039 GB, free: 6.23 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/0.3687, allocations: 63.7 kB / 0.604 GB, free: 6.168 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.294e-05/0.3688, allocations: 28 kB / 0.604 GB, free: 6.141 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002781/0.369, allocations: 211.1 kB / 0.6042 GB, free: 5.934 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.369, allocations: 4 kB / 0.6042 GB, free: 5.93 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001048/0.3701, allocations: 275.3 kB / 0.6045 GB, free: 5.66 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (constantSource2.port_p.reference.gamma,constantSource1.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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,8,100.0%), (1,8,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002296/0.3724, allocations: 1.769 MB / 0.6062 GB, free: 3.848 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001839/0.3742, allocations: 1.046 MB / 0.6072 GB, free: 2.75 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.3742, allocations: 4.188 kB / 0.6072 GB, free: 2.746 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001058/0.3753, allocations: 0.7559 MB / 0.608 GB, free: 1.938 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007428/0.376, allocations: 44.59 kB / 0.608 GB, free: 1.895 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008151/0.3842, allocations: 5.128 MB / 0.613 GB, free: 12.49 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007039/0.3849, allocations: 0.9227 MB / 0.6139 GB, free: 11.54 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002551/0.3851, allocations: 60.55 kB / 0.614 GB, free: 11.48 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003195/0.3855, allocations: 235.3 kB / 0.6142 GB, free: 11.25 MB / 462.1 MB Notification: Performance of SimCode: time 8.02e-07/0.3855, allocations: 4 kB / 0.6142 GB, free: 11.25 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05638/0.4418, allocations: 12.54 MB / 0.6265 GB, free: 14.84 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.3/12.74, allocations: 112 / 0.6265 GB, free: 14.84 MB / 478.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.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.62616778514348]