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.001414/0.001414, allocations: 127.4 kB / 17.79 MB, free: 5.242 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.001654/0.001654, allocations: 211.6 kB / 20.75 MB, free: 2.293 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.547/1.547, allocations: 230.4 MB / 254 MB, free: 15.01 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.00206/0.00206, allocations: 59.89 kB / 373 MB, free: 10.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1146, allocations: 53.38 MB / 426.4 MB, free: 4.598 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.00653/0.1212, allocations: 3.542 MB / 429.9 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00196/0.1231, allocations: 0.9736 MB / 430.9 MB, free: 60 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001875/0.1233, allocations: 8 kB / 430.9 MB, free: 52 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2267/0.35, allocations: 102.1 kB / 431 MB, free: 7.602 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007494/0.3508, allocations: 161 kB / 431.1 MB, free: 7.602 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004658/0.3512, allocations: 168.4 kB / 431.3 MB, free: 7.602 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006029/0.3518, allocations: 0.6304 MB / 431.9 MB, free: 7.602 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002623/0.3521, allocations: 147.1 kB / 432.1 MB, free: 7.574 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000257/0.3523, allocations: 250.7 kB / 432.3 MB, free: 7.531 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002535/0.3526, allocations: 271.6 kB / 432.6 MB, free: 7.469 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.998e-05/0.3527, allocations: 51.28 kB / 432.6 MB, free: 7.469 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.042e-05/0.3528, allocations: 52.97 kB / 432.7 MB, free: 7.469 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.848e-05/0.3528, allocations: 127 kB / 432.8 MB, free: 7.445 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001867/0.353, allocations: 281.2 kB / 433.1 MB, free: 7.359 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005523/0.3536, allocations: 0.6407 MB / 433.7 MB, free: 7.246 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.319e-06/0.3536, allocations: 0 / 433.7 MB, free: 7.246 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3536, allocations: 1.375 kB / 433.7 MB, free: 7.246 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.827e-06/0.3536, allocations: 0 / 433.7 MB, free: 7.246 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.00134/0.3549, allocations: 0.8718 MB / 434.6 MB, free: 6.688 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.355, allocations: 10.11 kB / 434.6 MB, free: 6.688 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.648e-05/0.355, allocations: 90.06 kB / 434.7 MB, free: 6.648 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.914e-05/0.3551, allocations: 71.72 kB / 434.8 MB, free: 6.613 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003741/0.3555, allocations: 359.5 kB / 435.1 MB, free: 6.363 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.123e-05/0.3555, allocations: 38.09 kB / 435.2 MB, free: 6.359 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.035e-05/0.3556, allocations: 50.73 kB / 435.2 MB, free: 6.359 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007687/0.3564, allocations: 439 kB / 435.6 MB, free: 6.309 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.3564, allocations: 0.7969 kB / 435.6 MB, free: 6.309 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.254e-05/0.3564, allocations: 26.09 kB / 435.7 MB, free: 6.309 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.495e-05/0.3565, allocations: 11.56 kB / 435.7 MB, free: 6.309 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008758/0.3573, allocations: 392.2 kB / 436.1 MB, free: 6.305 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002544/0.3599, allocations: 1.577 MB / 437.6 MB, free: 5.438 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007221/0.3606, allocations: 387.5 kB / 438 MB, free: 5.219 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004246/0.361, allocations: 162.7 kB / 438.2 MB, free: 5.164 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.022e-05/0.3611, allocations: 11.64 kB / 438.2 MB, free: 5.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/0.3611, allocations: 38.14 kB / 438.2 MB, free: 5.117 MB / 350.1 MB Notification: Performance of pre-optimization done (n=39): time 1.743e-06/0.3611, allocations: 0 / 438.2 MB, free: 5.117 MB / 350.1 MB Notification: Performance of matching and sorting (n=55): time 0.00349/0.3646, allocations: 1.193 MB / 439.4 MB, free: 4.66 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.54e-05/0.3646, allocations: 57.62 kB / 439.5 MB, free: 4.598 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004393/0.365, allocations: 414 kB / 439.9 MB, free: 4.391 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.713e-05/0.3651, allocations: 34.92 kB / 439.9 MB, free: 4.352 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001709/0.3652, allocations: 308.8 kB / 440.2 MB, free: 4.102 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001141/0.3653, allocations: 199.5 kB / 440.4 MB, free: 3.949 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001721/0.3655, allocations: 111.2 kB / 440.5 MB, free: 3.883 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.145e-05/0.3656, allocations: 360.5 kB / 440.9 MB, free: 3.547 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004443/0.3661, allocations: 178.7 kB / 441 MB, free: 3.492 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004978/0.3666, allocations: 302 kB / 441.3 MB, free: 3.305 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009392/0.3675, allocations: 493.6 kB / 441.8 MB, free: 3.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.3675, allocations: 1.188 kB / 441.8 MB, free: 3.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00143/0.3689, allocations: 0.733 MB / 442.5 MB, free: 2.703 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.3689, allocations: 10 kB / 442.6 MB, free: 2.699 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.369, allocations: 6.703 kB / 442.6 MB, free: 2.699 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005439/0.3695, allocations: 187.3 kB / 442.7 MB, free: 2.637 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004922/0.37, allocations: 108.6 kB / 442.9 MB, free: 2.629 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003818/0.3738, allocations: 4.276 MB / 447.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004725/0.3743, allocations: 36.8 kB / 447.2 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.921e-05/0.3743, allocations: 21.7 kB / 447.2 MB, free: 14.91 MB / 366.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.0002548/0.3746, allocations: 184.8 kB / 447.4 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.623e-05/0.3747, allocations: 50.92 kB / 447.4 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001475/0.3748, allocations: 61.23 kB / 447.5 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/0.3748, allocations: 8.469 kB / 447.5 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.309e-05/0.3749, allocations: 5.516 kB / 447.5 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.3749, allocations: 2.438 kB / 447.5 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002529/0.3774, allocations: 1.294 MB / 448.8 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.3774, allocations: 1.094 kB / 448.8 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003136/0.3777, allocations: 68.28 kB / 448.9 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004241/0.3781, allocations: 160.8 kB / 449 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.062e-05/0.3782, allocations: 16.59 kB / 449 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004297/0.3825, allocations: 4.102 MB / 453.1 MB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.3825, allocations: 2.094 kB / 453.1 MB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001335/0.3838, allocations: 0.6982 MB / 453.8 MB, free: 9.863 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001414/0.3839, allocations: 130 kB / 454 MB, free: 9.734 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.95e-05/0.384, allocations: 8.047 kB / 454 MB, free: 9.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002963/0.3843, allocations: 23.45 kB / 454 MB, free: 9.723 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/0.3844, allocations: 53.28 kB / 454 MB, free: 9.707 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.629e-05/0.3844, allocations: 14.66 kB / 454.1 MB, free: 9.703 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003427/0.3848, allocations: 283.3 kB / 454.3 MB, free: 9.562 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3848, allocations: 288 / 454.3 MB, free: 9.562 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007618/0.3855, allocations: 149.2 kB / 454.5 MB, free: 9.543 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.001676/0.3872, allocations: 1.257 MB / 455.7 MB, free: 8.605 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001679/0.3889, allocations: 0.7734 MB / 456.5 MB, free: 8.164 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.3889, allocations: 1.125 kB / 456.5 MB, free: 8.164 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008716/0.3898, allocations: 0.5064 MB / 457 MB, free: 7.828 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004399/0.3902, allocations: 51.66 kB / 457.1 MB, free: 7.793 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007785/0.398, allocations: 4.654 MB / 461.7 MB, free: 5.023 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005915/0.3986, allocations: 0.8618 MB / 462.6 MB, free: 4.316 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001877/0.3988, allocations: 45.88 kB / 462.6 MB, free: 4.305 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002602/0.399, allocations: 180.4 kB / 462.8 MB, free: 4.172 MB / 366.1 MB Notification: Performance of SimCode: time 9.31e-07/0.399, allocations: 4 kB / 462.8 MB, free: 4.168 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04418/0.4432, allocations: 9.896 MB / 472.7 MB, free: 15.89 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.32, allocations: 12.33 kB / 472.7 MB, free: 15.88 MB / 382.1 MB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.csv --start-time 0 --stop-time 0.05 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 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.csv","/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] "Error: Could not read variable magFluxSensor.Phi in file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.csv. Warning: Get data of variable magFluxSensor.Phi from file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.csv failed! Error: Could not read variable voltageSensor.v in file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.csv. Warning: Get data of variable voltageSensor.v from file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.98236173496116]