Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sensors.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.FluxTubes.Sensors,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|magneticPotentialDifferenceSensor.Phi|magneticFluxSensor.Phi|magneticPotentialDifferenceSensor.V_m",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sensors") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002699/0.002705, allocations: 371.5 kB / 15.97 MB, free: 6.195 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.968/3.968, allocations: 388.9 MB / 405.6 MB, free: 10.25 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.006622/0.006621, allocations: 230.9 kB / 451 MB, free: 145.1 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5515/0.5515, allocations: 80.02 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005494/0.0005495, allocations: 11.98 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09182/0.0924, allocations: 54.87 MB / 0.6801 GB, free: 41.68 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sensors): time 0.002238/0.0947, allocations: 1.54 MB / 0.6816 GB, free: 40.12 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001043/0.09579, allocations: 0.5507 MB / 0.6821 GB, free: 39.56 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001119/0.09593, allocations: 0 / 0.6821 GB, free: 39.56 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000159/0.09611, allocations: 27.83 kB / 0.6822 GB, free: 39.53 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000147/0.09627, allocations: 27.77 kB / 0.6822 GB, free: 39.5 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001788/0.09646, allocations: 35.92 kB / 0.6822 GB, free: 39.47 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000169/0.09664, allocations: 135.5 kB / 0.6823 GB, free: 39.34 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001418/0.0968, allocations: 49.77 kB / 0.6824 GB, free: 39.28 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000136/0.09694, allocations: 47.8 kB / 0.6824 GB, free: 39.23 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.842e-05/0.09705, allocations: 51.77 kB / 0.6825 GB, free: 39.18 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.827e-05/0.09709, allocations: 8 kB / 0.6825 GB, free: 39.18 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.98e-05/0.09713, allocations: 8 kB / 0.6825 GB, free: 39.17 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.457e-05/0.09716, allocations: 19.92 kB / 0.6825 GB, free: 39.15 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.598e-05/0.0972, allocations: 45.64 kB / 0.6826 GB, free: 39.1 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001472/0.09736, allocations: 123.9 kB / 0.6827 GB, free: 38.98 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.09738, allocations: 4 kB / 0.6827 GB, free: 38.97 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.886e-06/0.09739, allocations: 0 / 0.6827 GB, free: 38.97 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.0974, allocations: 3.938 kB / 0.6827 GB, free: 38.97 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0006679/0.09808, allocations: 415.2 kB / 0.6831 GB, free: 38.52 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.09814, allocations: 12.03 kB / 0.6831 GB, free: 38.5 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.148e-05/0.0982, allocations: 15.81 kB / 0.6831 GB, free: 38.49 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001967/0.09841, allocations: 203.5 kB / 0.6833 GB, free: 38.25 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.09844, allocations: 12.22 kB / 0.6833 GB, free: 38.24 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.19e-05/0.09848, allocations: 12 kB / 0.6833 GB, free: 38.23 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004236/0.09891, allocations: 138.4 kB / 0.6835 GB, free: 38.09 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.09894, allocations: 0 / 0.6835 GB, free: 38.09 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.329e-05/0.09897, allocations: 11.95 kB / 0.6835 GB, free: 38.08 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.09899, allocations: 0 / 0.6835 GB, free: 38.08 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004404/0.09944, allocations: 124.1 kB / 0.6836 GB, free: 37.96 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001276/0.1007, allocations: 0.6144 MB / 0.6842 GB, free: 37.27 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003469/0.1011, allocations: 86.61 kB / 0.6843 GB, free: 37.18 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001636/0.1013, allocations: 28.97 kB / 0.6843 GB, free: 37.15 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/0.1013, allocations: 3.984 kB / 0.6843 GB, free: 37.14 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/0.1014, allocations: 42.5 kB / 0.6844 GB, free: 37.09 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 3.487e-06/0.1014, allocations: 0 / 0.6844 GB, free: 37.09 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006011/0.102, allocations: 121.5 kB / 0.6845 GB, free: 36.97 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.122e-05/0.102, allocations: 55.41 kB / 0.6845 GB, free: 36.9 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.1022, allocations: 158.2 kB / 0.6847 GB, free: 36.74 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.1022, allocations: 33.64 kB / 0.6847 GB, free: 36.7 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.24e-05/0.1023, allocations: 131.5 kB / 0.6848 GB, free: 36.57 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.945e-05/0.1023, allocations: 27.59 kB / 0.6849 GB, free: 36.54 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.033e-06/0.1023, allocations: 0 / 0.6849 GB, free: 36.54 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.253e-05/0.1024, allocations: 318.8 kB / 0.6852 GB, free: 36.22 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001678/0.1026, allocations: 39.97 kB / 0.6852 GB, free: 36.18 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001849/0.1028, allocations: 64.22 kB / 0.6853 GB, free: 36.1 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001848/0.103, allocations: 43.97 kB / 0.6853 GB, free: 36.06 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.103, allocations: 0 / 0.6853 GB, free: 36.06 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004387/0.1034, allocations: 141.5 kB / 0.6854 GB, free: 35.91 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.1035, allocations: 4 kB / 0.6854 GB, free: 35.91 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.1035, allocations: 7.984 kB / 0.6854 GB, free: 35.9 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.1035, allocations: 0 / 0.6854 GB, free: 35.9 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002412/0.1038, allocations: 27.98 kB / 0.6855 GB, free: 35.88 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.396e-05/0.1038, allocations: 80 / 0.6855 GB, free: 35.88 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001568/0.104, allocations: 15.98 kB / 0.6855 GB, free: 35.86 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/0.104, allocations: 12.02 kB / 0.6855 GB, free: 35.85 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (11): * Single equations (assignments): 11 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001008/0.1041, allocations: 126.5 kB / 0.6856 GB, free: 35.71 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.816e-05/0.1041, allocations: 11.86 kB / 0.6856 GB, free: 35.7 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.155e-05/0.1042, allocations: 12.31 kB / 0.6856 GB, free: 35.7 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.1042, allocations: 0 / 0.6856 GB, free: 35.7 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1042, allocations: 0 / 0.6856 GB, free: 35.7 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.908e-05/0.1043, allocations: 92.91 kB / 0.6857 GB, free: 35.59 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.64e-05/0.1043, allocations: 4 kB / 0.6857 GB, free: 35.58 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001506/0.1045, allocations: 8 kB / 0.6857 GB, free: 35.57 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.05e-05/0.1045, allocations: 7.984 kB / 0.6858 GB, free: 35.57 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004736/0.105, allocations: 184.9 kB / 0.6859 GB, free: 35.38 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003883/0.1054, allocations: 274.6 kB / 0.6862 GB, free: 35.09 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001649/0.1056, allocations: 36.34 kB / 0.6862 GB, free: 35.06 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.096e-05/0.1057, allocations: 107.8 kB / 0.6863 GB, free: 34.95 MB / 346.7 MB Notification: Performance of Backend: time 7.72e-07/0.1057, allocations: 0 / 0.6863 GB, free: 34.95 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000559/0.1063, allocations: 129.9 kB / 0.6865 GB, free: 34.82 MB / 346.7 MB Notification: Performance of SimCode: time 0.0007846/0.1071, allocations: 0.7644 MB / 0.6872 GB, free: 34.01 MB / 346.7 MB Notification: Performance of Templates: time 0.004097/0.1112, allocations: 0.7943 MB / 0.688 GB, free: 33.21 MB / 346.7 MB "" Variables in the reference:time,magneticPotentialDifferenceSensor.Phi,magneticFluxSensor.Phi,magneticPotentialDifferenceSensor.V_m Variables in the result:genericFluxTube.A,genericFluxTube.V_m,genericFluxTube.area,genericFluxTube.l,genericFluxTube.material.B_myMax,genericFluxTube.material.c_a,genericFluxTube.material.c_b,genericFluxTube.material.mu_i,genericFluxTube.material.n,genericFluxTube.mu_r,genericFluxTube.mu_rConst,genericFluxTube.nonLinearPermeability,magneticFluxSensor.Phi,magneticPotentialDifferenceSensor.Phi,magneticPotentialDifferenceSensor.V_m,ramp.duration,ramp.height,ramp.offset,ramp.startTime,signalSource.Phi,time