Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001226/0.001226, allocations: 196.7 kB / 17.38 MB, free: 4.312 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.387/1.387, allocations: 226.6 MB / 244.7 MB, free: 6.449 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007621/0.0007625, allocations: 100.4 kB / 296.8 MB, free: 6.684 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003167/0.0003168, allocations: 4 kB / 356.8 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2592/0.2595, allocations: 51.3 MB / 408.1 MB, free: 27.7 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.004995/0.2646, allocations: 5.772 MB / 413.8 MB, free: 21.91 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00398/0.2686, allocations: 2.225 MB / 416.1 MB, free: 19.7 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005193/0.2691, allocations: 20 kB / 416.1 MB, free: 19.68 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007075/0.2699, allocations: 278.5 kB / 416.3 MB, free: 19.4 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001217/0.2711, allocations: 449.5 kB / 416.8 MB, free: 18.96 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001838/0.2729, allocations: 1.086 MB / 417.9 MB, free: 17.88 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009376/0.2739, allocations: 1.031 MB / 418.9 MB, free: 16.84 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002381/0.2763, allocations: 1.653 MB / 420.6 MB, free: 15.16 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005107/0.2768, allocations: 402.4 kB / 420.9 MB, free: 14.76 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004373/0.2773, allocations: 0.529 MB / 421.5 MB, free: 14.23 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.428e-05/0.2773, allocations: 52 kB / 421.5 MB, free: 14.18 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008586/0.2782, allocations: 379.7 kB / 421.9 MB, free: 13.81 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.2783, allocations: 183.2 kB / 422.1 MB, free: 13.63 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003546/0.2787, allocations: 0.5031 MB / 422.6 MB, free: 13.12 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009462/0.2796, allocations: 1.251 MB / 423.8 MB, free: 11.86 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.114e-06/0.2797, allocations: 0 / 423.8 MB, free: 11.86 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.775e-06/0.2797, allocations: 4 kB / 423.8 MB, free: 11.86 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.411e-05/0.2797, allocations: 0 / 423.8 MB, free: 11.86 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.005164/0.2849, allocations: 1.831 MB / 425.7 MB, free: 9.977 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.2849, allocations: 8.031 kB / 425.7 MB, free: 9.969 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003139/0.2881, allocations: 0.5186 MB / 426.2 MB, free: 9.449 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002675/0.2883, allocations: 310.8 kB / 426.5 MB, free: 9.105 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.258e-05/0.2884, allocations: 98.95 kB / 426.6 MB, free: 9.008 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001689/0.2886, allocations: 132.3 kB / 426.7 MB, free: 8.879 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002046/0.2907, allocations: 1.307 MB / 428 MB, free: 7.539 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.633e-05/0.2907, allocations: 0 / 428 MB, free: 7.539 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001008/0.2908, allocations: 52 kB / 428.1 MB, free: 7.488 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.094e-05/0.2908, allocations: 32 kB / 428.1 MB, free: 7.457 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002103/0.2929, allocations: 1.216 MB / 429.3 MB, free: 6.234 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005384/0.2983, allocations: 4.331 MB / 433.7 MB, free: 1.672 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0021/0.3005, allocations: 2.452 MB / 436.1 MB, free: 14.95 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009184/0.3014, allocations: 0.5074 MB / 436.6 MB, free: 14.44 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001878/0.3016, allocations: 199.1 kB / 436.8 MB, free: 14.2 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/0.3016, allocations: 43.56 kB / 436.9 MB, free: 14.15 MB / 314.7 MB Notification: Performance of pre-optimization done (n=122): time 3.066e-06/0.3016, allocations: 0 / 436.9 MB, free: 14.15 MB / 314.7 MB Notification: Performance of matching and sorting (n=125): time 0.01062/0.3123, allocations: 4.057 MB / 440.9 MB, free: 10 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.857e-05/0.3124, allocations: 90.11 kB / 441 MB, free: 9.891 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000419/0.3128, allocations: 389.5 kB / 441.4 MB, free: 9.504 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.137e-05/0.3129, allocations: 49.7 kB / 441.4 MB, free: 9.449 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002439/0.3131, allocations: 455 kB / 441.9 MB, free: 8.996 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002864/0.3134, allocations: 417.8 kB / 442.3 MB, free: 8.582 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.619e-05/0.3135, allocations: 32 kB / 442.3 MB, free: 8.551 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.3136, allocations: 366.8 kB / 442.7 MB, free: 8.184 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001033/0.3147, allocations: 459.8 kB / 443.1 MB, free: 7.734 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001158/0.3158, allocations: 0.7114 MB / 443.8 MB, free: 6.926 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002262/0.3181, allocations: 1.218 MB / 445 MB, free: 5.613 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.3181, allocations: 0 / 445 MB, free: 5.613 MB / 314.7 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.002958/0.3211, allocations: 1.513 MB / 446.6 MB, free: 4.086 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.656e-05/0.3211, allocations: 8 kB / 446.6 MB, free: 4.078 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.824e-05/0.3212, allocations: 8 kB / 446.6 MB, free: 4.07 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005374/0.3217, allocations: 197.6 kB / 446.8 MB, free: 3.871 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001206/0.3229, allocations: 303.6 kB / 447.1 MB, free: 3.574 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003968/0.3269, allocations: 3.97 MB / 451 MB, free: 15.34 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009162/0.3278, allocations: 92 kB / 451.1 MB, free: 15.25 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.172e-05/0.3279, allocations: 51.98 kB / 451.2 MB, free: 15.2 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (146): * Single equations (assignments): 144 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 12,(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004829/0.3284, allocations: 269.4 kB / 451.4 MB, free: 14.93 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/0.3286, allocations: 71.16 kB / 451.5 MB, free: 14.86 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003105/0.3317, allocations: 1.386 MB / 452.9 MB, free: 13.45 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-05/0.3317, allocations: 12 kB / 452.9 MB, free: 13.44 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.3317, allocations: 4 kB / 452.9 MB, free: 13.43 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.149e-05/0.3317, allocations: 4.172 kB / 452.9 MB, free: 13.43 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004816/0.3365, allocations: 2.668 MB / 455.6 MB, free: 10.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.155e-06/0.3366, allocations: 3.938 kB / 455.6 MB, free: 10.66 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001025/0.3376, allocations: 231.8 kB / 455.8 MB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005582/0.3382, allocations: 172.7 kB / 456 MB, free: 10.26 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.618e-05/0.3383, allocations: 31.98 kB / 456 MB, free: 10.23 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003773/0.3421, allocations: 3.777 MB / 459.8 MB, free: 6.18 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.3421, allocations: 4 kB / 459.8 MB, free: 6.176 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003761/0.3459, allocations: 1.933 MB / 461.7 MB, free: 4.207 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003816/0.3463, allocations: 236.1 kB / 462 MB, free: 3.957 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.306e-05/0.3464, allocations: 24 kB / 462 MB, free: 3.934 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006504/0.347, allocations: 76 kB / 462.1 MB, free: 3.859 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001925/0.3472, allocations: 84.88 kB / 462.1 MB, free: 3.773 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.046e-05/0.3473, allocations: 35.98 kB / 462.2 MB, free: 3.738 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002936/0.3476, allocations: 275.2 kB / 462.4 MB, free: 3.473 MB / 330.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3476, allocations: 0 / 462.4 MB, free: 3.473 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001083/0.3487, allocations: 304.1 kB / 462.7 MB, free: 3.176 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (currentSource.pin_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 (106): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003199/0.349, allocations: 183.8 kB / 462.9 MB, free: 2.988 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002954/0.352, allocations: 1.497 MB / 464.4 MB, free: 1.469 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.352, allocations: 3.938 kB / 464.4 MB, free: 1.465 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001487/0.3535, allocations: 0.8818 MB / 465.3 MB, free: 0.5586 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000644/0.3542, allocations: 73.36 kB / 465.4 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004426/0.3586, allocations: 2.425 MB / 467.8 MB, free: 14.02 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006166/0.3593, allocations: 1.009 MB / 468.8 MB, free: 12.98 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004073/0.3597, allocations: 95.38 kB / 468.9 MB, free: 12.89 MB / 346.7 MB Notification: Performance of SimCode: time 7.11e-07/0.3597, allocations: 4 kB / 468.9 MB, free: 12.89 MB / 346.7 MB Notification: Performance of Templates: time 0.02472/0.3844, allocations: 19.44 MB / 488.3 MB, free: 9.441 MB / 362.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile (rm -f Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","../files/Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches