Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 112 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 188.4 kB / 23.72 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001675/0.001675, allocations: 48.02 kB / 370.4 MB, free: 9.867 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2567/0.2584, allocations: 52.19 MB / 422.6 MB, free: 14.92 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.005063/0.2634, allocations: 3.541 MB / 426.2 MB, free: 11.36 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00166/0.2651, allocations: 0.9192 MB / 427.1 MB, free: 10.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001971/0.2653, allocations: 11.94 kB / 427.1 MB, free: 10.42 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002614/0.2655, allocations: 95.14 kB / 427.2 MB, free: 10.33 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003633/0.2659, allocations: 162.7 kB / 427.4 MB, free: 10.17 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003565/0.2663, allocations: 167.7 kB / 427.5 MB, free: 10 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006679/0.2669, allocations: 0.6309 MB / 428.2 MB, free: 9.371 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002863/0.2672, allocations: 142 kB / 428.3 MB, free: 9.227 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003385/0.2675, allocations: 255 kB / 428.5 MB, free: 8.977 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003361/0.2679, allocations: 270.7 kB / 428.8 MB, free: 8.711 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.36e-05/0.268, allocations: 52 kB / 428.9 MB, free: 8.66 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.6e-05/0.268, allocations: 56 kB / 428.9 MB, free: 8.605 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001014/0.2681, allocations: 119.5 kB / 429 MB, free: 8.488 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002596/0.2684, allocations: 286.5 kB / 429.3 MB, free: 8.207 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006708/0.2691, allocations: 0.6269 MB / 429.9 MB, free: 7.582 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.2691, allocations: 0 / 429.9 MB, free: 7.582 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.2691, allocations: 0 / 429.9 MB, free: 7.582 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.387e-05/0.2691, allocations: 0 / 429.9 MB, free: 7.582 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001478/0.2706, allocations: 0.7895 MB / 430.7 MB, free: 6.762 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.2706, allocations: 16.03 kB / 430.7 MB, free: 6.746 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001016/0.2707, allocations: 90.7 kB / 430.8 MB, free: 6.648 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.201e-05/0.2708, allocations: 60.56 kB / 430.9 MB, free: 6.59 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005382/0.2713, allocations: 298 kB / 431.2 MB, free: 6.273 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.38e-05/0.2714, allocations: 41.62 kB / 431.2 MB, free: 6.23 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.874e-05/0.2715, allocations: 56.11 kB / 431.3 MB, free: 6.176 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000871/0.2723, allocations: 434.5 kB / 431.7 MB, free: 5.746 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.2724, allocations: 4 kB / 431.7 MB, free: 5.742 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.376e-05/0.2724, allocations: 23.98 kB / 431.7 MB, free: 5.719 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.345e-05/0.2724, allocations: 12 kB / 431.7 MB, free: 5.707 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000861/0.2733, allocations: 393 kB / 432.1 MB, free: 5.324 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002556/0.2758, allocations: 1.501 MB / 433.6 MB, free: 3.723 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006968/0.2765, allocations: 313 kB / 433.9 MB, free: 3.406 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003973/0.2769, allocations: 169.4 kB / 434.1 MB, free: 3.238 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.497e-05/0.277, allocations: 4.328 kB / 434.1 MB, free: 3.234 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/0.277, allocations: 38.89 kB / 434.1 MB, free: 3.188 MB / 334.1 MB Notification: Performance of pre-optimization done (n=39): time 1.904e-06/0.277, allocations: 4 kB / 434.1 MB, free: 3.184 MB / 334.1 MB Notification: Performance of matching and sorting (n=55): time 0.003239/0.2802, allocations: 1.185 MB / 435.3 MB, free: 1.984 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/0.2803, allocations: 55.91 kB / 435.4 MB, free: 1.918 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004624/0.2807, allocations: 401.6 kB / 435.8 MB, free: 1.52 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.788e-05/0.2808, allocations: 37.7 kB / 435.8 MB, free: 1.477 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000224/0.281, allocations: 304.7 kB / 436.1 MB, free: 1.172 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001564/0.2812, allocations: 202.3 kB / 436.3 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000158/0.2813, allocations: 110.3 kB / 436.4 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001778/0.2815, allocations: 354.8 kB / 436.8 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004326/0.2819, allocations: 181.2 kB / 436.9 MB, free: 332 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005149/0.2824, allocations: 299 kB / 437.2 MB, free: 15.99 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009316/0.2834, allocations: 496 kB / 437.7 MB, free: 15.46 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.2834, allocations: 3.938 kB / 437.7 MB, free: 15.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00144/0.2848, allocations: 0.7407 MB / 438.5 MB, free: 14.71 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.2848, allocations: 7.438 kB / 438.5 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.2849, allocations: 4 kB / 438.5 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005569/0.2854, allocations: 188.8 kB / 438.6 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004648/0.2859, allocations: 111.9 kB / 438.8 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004524/0.2904, allocations: 4.063 MB / 442.8 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004073/0.2908, allocations: 27.98 kB / 442.8 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.903e-05/0.2908, allocations: 24 kB / 442.9 MB, free: 10.06 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (58): * Single equations (assignments): 56 * 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,12,100.0%), (1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002431/0.2911, allocations: 188.5 kB / 443.1 MB, free: 9.871 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.02e-05/0.2912, allocations: 47.78 kB / 443.1 MB, free: 9.824 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001223/0.2913, allocations: 64.97 kB / 443.2 MB, free: 9.762 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.2913, allocations: 4 kB / 443.2 MB, free: 9.758 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.15e-05/0.2913, allocations: 4 kB / 443.2 MB, free: 9.754 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/0.2913, allocations: 7.984 kB / 443.2 MB, free: 9.746 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002357/0.2937, allocations: 1.264 MB / 444.4 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.656e-06/0.2937, allocations: 0 / 444.4 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002938/0.294, allocations: 71.89 kB / 444.5 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004252/0.2944, allocations: 161.6 kB / 444.7 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.156e-05/0.2944, allocations: 15.98 kB / 444.7 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004128/0.2986, allocations: 3.895 MB / 448.6 MB, free: 4.043 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.2986, allocations: 0 / 448.6 MB, free: 4.043 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00128/0.2999, allocations: 0.6962 MB / 449.3 MB, free: 3.312 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.675e-05/0.2999, allocations: 47.64 kB / 449.3 MB, free: 3.266 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.889e-05/0.3, allocations: 12 kB / 449.3 MB, free: 3.254 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002809/0.3003, allocations: 23.97 kB / 449.4 MB, free: 3.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/0.3004, allocations: 48.28 kB / 449.4 MB, free: 3.184 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.108e-05/0.3004, allocations: 16 kB / 449.4 MB, free: 3.168 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003292/0.3008, allocations: 279.2 kB / 449.7 MB, free: 2.895 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3008, allocations: 0 / 449.7 MB, free: 2.895 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000707/0.3015, allocations: 152 kB / 449.8 MB, free: 2.746 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (35): * Single equations (assignments): 33 * 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,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001764/0.3032, allocations: 1.248 MB / 451.1 MB, free: 1.449 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001656/0.3049, allocations: 0.7573 MB / 451.9 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.3049, allocations: 192 / 451.9 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008295/0.3057, allocations: 0.5084 MB / 452.4 MB, free: 136 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004497/0.3062, allocations: 53.8 kB / 452.4 MB, free: 84 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00762/0.3138, allocations: 4.62 MB / 457 MB, free: 11.26 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005808/0.3144, allocations: 0.8592 MB / 457.9 MB, free: 10.38 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001705/0.3145, allocations: 40.38 kB / 457.9 MB, free: 10.33 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002481/0.3148, allocations: 171.4 kB / 458.1 MB, free: 10.16 MB / 366.1 MB Notification: Performance of SimCode: time 1.122e-06/0.3148, allocations: 0 / 458.1 MB, free: 10.16 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05027/0.3651, allocations: 10.24 MB / 468.3 MB, free: 76 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.71/13.07, allocations: 7.234 kB / 468.3 MB, free: 72 kB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap_fmu --startTime=0 --stopTime=0.05 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap.fmu > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.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.432354934047908]