Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.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.001815/0.001815, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002406/0.002406, allocations: 204 kB / 23.72 MB, free: 4.391 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.509/1.509, allocations: 230.5 MB / 257.4 MB, free: 7.738 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 63.91 kB / 377.7 MB, free: 2.809 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2378/0.2398, allocations: 53.4 MB / 431.1 MB, free: 6.449 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.004885/0.2446, allocations: 3.243 MB / 434.4 MB, free: 3.191 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001688/0.2463, allocations: 0.9191 MB / 435.3 MB, free: 2.27 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001852/0.2465, allocations: 11.94 kB / 435.3 MB, free: 2.258 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002652/0.2468, allocations: 99.09 kB / 435.4 MB, free: 2.16 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000374/0.2472, allocations: 160.4 kB / 435.6 MB, free: 2.004 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003795/0.2475, allocations: 179.7 kB / 435.7 MB, free: 1.828 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000651/0.2482, allocations: 0.6377 MB / 436.4 MB, free: 1.191 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002537/0.2484, allocations: 134 kB / 436.5 MB, free: 1.055 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002847/0.2487, allocations: 243 kB / 436.7 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003176/0.249, allocations: 242.6 kB / 437 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.361e-05/0.2491, allocations: 52 kB / 437 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.99e-05/0.2492, allocations: 55.94 kB / 437.1 MB, free: 484 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001068/0.2493, allocations: 123.5 kB / 437.2 MB, free: 360 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002202/0.2495, allocations: 234.8 kB / 437.4 MB, free: 124 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006909/0.2502, allocations: 0.6456 MB / 438.1 MB, free: 15.47 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.2502, allocations: 4 kB / 438.1 MB, free: 15.47 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.2502, allocations: 0 / 438.1 MB, free: 15.47 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.695e-06/0.2502, allocations: 0 / 438.1 MB, free: 15.47 MB / 350.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.001473/0.2517, allocations: 0.7933 MB / 438.9 MB, free: 14.64 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.2518, allocations: 11.98 kB / 438.9 MB, free: 14.63 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001065/0.2519, allocations: 98.64 kB / 439 MB, free: 14.53 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001041/0.252, allocations: 64.52 kB / 439.1 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005151/0.2525, allocations: 294.1 kB / 439.3 MB, free: 14.15 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.55e-05/0.2525, allocations: 41.69 kB / 439.4 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.405e-05/0.2526, allocations: 56.12 kB / 439.4 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008312/0.2535, allocations: 430.5 kB / 439.9 MB, free: 13.63 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/0.2535, allocations: 7.984 kB / 439.9 MB, free: 13.62 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.431e-05/0.2535, allocations: 20 kB / 439.9 MB, free: 13.6 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.913e-05/0.2535, allocations: 15.98 kB / 439.9 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009054/0.2544, allocations: 389 kB / 440.3 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002506/0.2569, allocations: 1.313 MB / 441.6 MB, free: 11.81 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007279/0.2577, allocations: 311.6 kB / 441.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004166/0.2581, allocations: 165.5 kB / 442.1 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.387e-05/0.2581, allocations: 4.328 kB / 442.1 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/0.2582, allocations: 38.89 kB / 442.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of pre-optimization done (n=39): time 1.904e-06/0.2582, allocations: 0 / 442.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=55): time 0.003395/0.2615, allocations: 1.203 MB / 443.3 MB, free: 10.06 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.947e-05/0.2616, allocations: 55.91 kB / 443.4 MB, free: 9.996 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004896/0.2621, allocations: 421.4 kB / 443.8 MB, free: 9.578 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.218e-05/0.2621, allocations: 29.7 kB / 443.8 MB, free: 9.543 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002519/0.2624, allocations: 312.7 kB / 444.1 MB, free: 9.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001581/0.2625, allocations: 202.3 kB / 444.3 MB, free: 9.031 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001739/0.2627, allocations: 114.3 kB / 444.4 MB, free: 8.914 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001786/0.2629, allocations: 358.8 kB / 444.8 MB, free: 8.555 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004483/0.2633, allocations: 177.2 kB / 444.9 MB, free: 8.379 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005457/0.2639, allocations: 307.2 kB / 445.2 MB, free: 8.035 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009807/0.2649, allocations: 0.4922 MB / 445.7 MB, free: 7.504 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.2649, allocations: 3.938 kB / 445.7 MB, free: 7.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001526/0.2664, allocations: 0.7327 MB / 446.5 MB, free: 6.754 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.2664, allocations: 8.094 kB / 446.5 MB, free: 6.746 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.2664, allocations: 7.938 kB / 446.5 MB, free: 6.738 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005456/0.267, allocations: 181.6 kB / 446.7 MB, free: 6.555 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006376/0.2676, allocations: 115.9 kB / 446.8 MB, free: 6.441 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004468/0.2721, allocations: 4.024 MB / 450.8 MB, free: 2.191 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004129/0.2725, allocations: 23.98 kB / 450.8 MB, free: 2.168 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.3e-05/0.2725, allocations: 24 kB / 450.8 MB, free: 2.145 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.0002501/0.2728, allocations: 185.8 kB / 451 MB, free: 1.953 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.398e-05/0.2729, allocations: 51.67 kB / 451.1 MB, free: 1.902 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001308/0.273, allocations: 61.02 kB / 451.1 MB, free: 1.844 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.273, allocations: 8 kB / 451.1 MB, free: 1.836 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.738e-05/0.273, allocations: 4 kB / 451.1 MB, free: 1.832 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/0.273, allocations: 3.984 kB / 451.1 MB, free: 1.828 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002404/0.2754, allocations: 1.209 MB / 452.4 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.2754, allocations: 7.938 kB / 452.4 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003067/0.2757, allocations: 63.89 kB / 452.4 MB, free: 496 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004325/0.2762, allocations: 161.7 kB / 452.6 MB, free: 328 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.972e-05/0.2762, allocations: 15.98 kB / 452.6 MB, free: 312 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004045/0.2803, allocations: 3.853 MB / 456.5 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.2803, allocations: 0 / 456.5 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001321/0.2816, allocations: 0.7002 MB / 457.2 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.718e-05/0.2817, allocations: 55.59 kB / 457.2 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.304e-05/0.2817, allocations: 8 kB / 457.2 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003028/0.282, allocations: 27.97 kB / 457.2 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/0.2821, allocations: 52.28 kB / 457.3 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.483e-05/0.2822, allocations: 12 kB / 457.3 MB, free: 11.34 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003317/0.2825, allocations: 283.2 kB / 457.6 MB, free: 11.07 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2825, allocations: 0 / 457.6 MB, free: 11.07 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006993/0.2832, allocations: 148 kB / 457.7 MB, free: 10.93 MB / 366.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.001643/0.2848, allocations: 1.255 MB / 459 MB, free: 9.617 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001564/0.2864, allocations: 0.7651 MB / 459.7 MB, free: 8.824 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2864, allocations: 0 / 459.7 MB, free: 8.824 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008354/0.2872, allocations: 0.5045 MB / 460.3 MB, free: 8.297 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004336/0.2877, allocations: 53.59 kB / 460.3 MB, free: 8.246 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007335/0.295, allocations: 4.658 MB / 465 MB, free: 3.391 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003799/0.2954, allocations: 263 kB / 465.2 MB, free: 3.105 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002344/0.2956, allocations: 48.36 kB / 465.3 MB, free: 3.055 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002548/0.2959, allocations: 179.4 kB / 465.4 MB, free: 2.879 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2959, allocations: 0 / 465.4 MB, free: 2.879 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04622/0.3421, allocations: 10.6 MB / 476 MB, free: 8.426 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.96/12.3, allocations: 10.97 kB / 476 MB, free: 8.422 MB / 382.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap_fmu --startTime=0 --stopTime=0.05 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap.fmu > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 14.733931413386017]