Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sources.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.Sources,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|constantSource.V_m|constantSource.Phi|signalSource.V_m|signalSource.Phi|constantSource1.Phi|constantSource1.V_m|signalSource1.Phi|signalSource1.V_m",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sources") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003937/0.003943, allocations: 368.3 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.974/3.974, allocations: 388.9 MB / 405.6 MB, free: 10.24 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.003503/0.003502, allocations: 237.5 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.5369/0.5369, allocations: 80.02 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006766/0.0006767, allocations: 15.98 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.159, allocations: 54.87 MB / 0.6801 GB, free: 41.68 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sources): time 0.004397/0.1634, allocations: 2.179 MB / 0.6822 GB, free: 39.48 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002075/0.1656, allocations: 0.7378 MB / 0.6829 GB, free: 38.73 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002317/0.1659, allocations: 7.938 kB / 0.683 GB, free: 38.73 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002528/0.1661, allocations: 43.62 kB / 0.683 GB, free: 38.68 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003999/0.1666, allocations: 87.44 kB / 0.6831 GB, free: 38.6 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004593/0.167, allocations: 87.89 kB / 0.6832 GB, free: 38.51 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006106/0.1677, allocations: 370.4 kB / 0.6835 GB, free: 38.15 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003216/0.168, allocations: 111.2 kB / 0.6836 GB, free: 38.04 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002865/0.1683, allocations: 127.5 kB / 0.6837 GB, free: 37.91 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002723/0.1686, allocations: 143.3 kB / 0.6839 GB, free: 37.77 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.993e-05/0.1687, allocations: 20 kB / 0.6839 GB, free: 37.75 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.183e-05/0.1688, allocations: 16 kB / 0.6839 GB, free: 37.74 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.049e-05/0.1689, allocations: 55.77 kB / 0.684 GB, free: 37.68 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001005/0.169, allocations: 89.52 kB / 0.6841 GB, free: 37.59 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004545/0.1695, allocations: 303.1 kB / 0.6843 GB, free: 37.29 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.1695, allocations: 0 / 0.6843 GB, free: 37.29 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.1695, allocations: 0 / 0.6843 GB, free: 37.29 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.205e-06/0.1696, allocations: 0 / 0.6843 GB, free: 37.29 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001755/0.1713, allocations: 0.6276 MB / 0.685 GB, free: 36.62 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.613e-05/0.1714, allocations: 8.031 kB / 0.685 GB, free: 36.61 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001333/0.1716, allocations: 39.53 kB / 0.685 GB, free: 36.57 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004527/0.172, allocations: 262.6 kB / 0.6853 GB, free: 36.27 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.255e-05/0.1721, allocations: 25 kB / 0.6853 GB, free: 36.25 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.817e-05/0.1722, allocations: 32 kB / 0.6853 GB, free: 36.22 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001379/0.1736, allocations: 374.5 kB / 0.6857 GB, free: 35.84 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.376e-05/0.1737, allocations: 0 / 0.6857 GB, free: 35.84 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.892e-05/0.1738, allocations: 16 kB / 0.6857 GB, free: 35.82 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.661e-05/0.1738, allocations: 8 kB / 0.6857 GB, free: 35.81 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001432/0.1752, allocations: 284.9 kB / 0.686 GB, free: 35.54 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004125/0.1794, allocations: 1.367 MB / 0.6873 GB, free: 34.07 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009374/0.1804, allocations: 210.5 kB / 0.6875 GB, free: 33.83 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005204/0.1809, allocations: 95.55 kB / 0.6876 GB, free: 33.73 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.365e-05/0.181, allocations: 7.938 kB / 0.6876 GB, free: 33.72 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.1811, allocations: 46.48 kB / 0.6876 GB, free: 33.66 MB / 346.7 MB Notification: Performance of pre-optimization done (n=15): time 5.26e-06/0.1811, allocations: 0 / 0.6876 GB, free: 33.66 MB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.001848/0.183, allocations: 273.7 kB / 0.6879 GB, free: 33.39 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.81e-05/0.1831, allocations: 132.7 kB / 0.688 GB, free: 33.23 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006459/0.1837, allocations: 328.3 kB / 0.6883 GB, free: 32.91 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.096e-05/0.1838, allocations: 37.64 kB / 0.6884 GB, free: 32.86 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002082/0.184, allocations: 231.6 kB / 0.6886 GB, free: 32.63 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.413e-05/0.1841, allocations: 55.28 kB / 0.6886 GB, free: 32.57 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.617e-05/0.1841, allocations: 4 kB / 0.6887 GB, free: 32.57 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.1843, allocations: 342.8 kB / 0.689 GB, free: 32.23 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000583/0.1849, allocations: 88.5 kB / 0.6891 GB, free: 32.14 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006332/0.1855, allocations: 178.7 kB / 0.6892 GB, free: 31.93 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005445/0.1861, allocations: 116 kB / 0.6893 GB, free: 31.82 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.1861, allocations: 0 / 0.6893 GB, free: 31.82 MB / 346.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001611/0.1878, allocations: 324.9 kB / 0.6897 GB, free: 31.49 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.575e-05/0.1878, allocations: 8 kB / 0.6897 GB, free: 31.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/0.1879, allocations: 4 kB / 0.6897 GB, free: 31.48 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.793e-05/0.1879, allocations: 4 kB / 0.6897 GB, free: 31.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001128/0.1891, allocations: 108 kB / 0.6898 GB, free: 31.37 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.445e-05/0.1891, allocations: 4 kB / 0.6898 GB, free: 31.37 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000698/0.1898, allocations: 59.52 kB / 0.6898 GB, free: 31.31 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.2e-05/0.1899, allocations: 16 kB / 0.6898 GB, free: 31.29 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (34): * Single equations (assignments): 34 * 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.0002641/0.1902, allocations: 146.5 kB / 0.69 GB, free: 31.14 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001962/0.1904, allocations: 31.62 kB / 0.69 GB, free: 31.11 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001071/0.1905, allocations: 34.41 kB / 0.69 GB, free: 31.08 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.1905, allocations: 0 / 0.69 GB, free: 31.08 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.1906, allocations: 0 / 0.69 GB, free: 31.08 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001185/0.1907, allocations: 104.8 kB / 0.6901 GB, free: 30.96 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.036e-05/0.1908, allocations: 11.89 kB / 0.6902 GB, free: 30.95 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007449/0.1916, allocations: 23.98 kB / 0.6902 GB, free: 30.92 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.969e-05/0.1917, allocations: 11.97 kB / 0.6902 GB, free: 30.91 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001737/0.1934, allocations: 0.5416 MB / 0.6907 GB, free: 30.36 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001233/0.1947, allocations: 0.6055 MB / 0.6913 GB, free: 29.73 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005332/0.1953, allocations: 80.12 kB / 0.6914 GB, free: 29.66 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004364/0.1957, allocations: 223.1 kB / 0.6916 GB, free: 29.45 MB / 346.7 MB Notification: Performance of Backend: time 9.92e-07/0.1957, allocations: 3.938 kB / 0.6916 GB, free: 29.44 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001847/0.1976, allocations: 222.5 kB / 0.6918 GB, free: 29.21 MB / 346.7 MB Notification: Performance of SimCode: time 0.001718/0.1994, allocations: 1.068 MB / 0.6929 GB, free: 28.1 MB / 346.7 MB Notification: Performance of Templates: time 0.01077/0.2102, allocations: 2.103 MB / 0.6949 GB, free: 26 MB / 346.7 MB "" Variables in the reference:time,constantSource.V_m,constantSource.Phi,signalSource.V_m,signalSource.Phi,constantSource1.Phi,constantSource1.V_m,signalSource1.Phi,signalSource1.V_m Variables in the result:constantSource.Phi,constantSource.V_m,constantSource.port_p.V_m,constantSource1.Phi,constantSource1.V_m,constantSource1.port_n.Phi,constantSource1.port_p.Phi,genericFluxTube.A,genericFluxTube.Phi,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,genericFluxTube.port_p.V_m,genericFluxTube1.A,genericFluxTube1.Phi,genericFluxTube1.V_m,genericFluxTube1.area,genericFluxTube1.l,genericFluxTube1.material.B_myMax,genericFluxTube1.material.c_a,genericFluxTube1.material.c_b,genericFluxTube1.material.mu_i,genericFluxTube1.material.n,genericFluxTube1.mu_r,genericFluxTube1.mu_rConst,genericFluxTube1.nonLinearPermeability,genericFluxTube2.A,genericFluxTube2.Phi,genericFluxTube2.area,genericFluxTube2.l,genericFluxTube2.material.B_myMax,genericFluxTube2.material.c_a,genericFluxTube2.material.c_b,genericFluxTube2.material.mu_i,genericFluxTube2.material.n,genericFluxTube2.mu_r,genericFluxTube2.mu_rConst,genericFluxTube2.nonLinearPermeability,genericFluxTube2.port_n.Phi,genericFluxTube2.port_p.Phi,genericFluxTube3.A,genericFluxTube3.Phi,genericFluxTube3.area,genericFluxTube3.l,genericFluxTube3.material.B_myMax,genericFluxTube3.material.c_a,genericFluxTube3.material.c_b,genericFluxTube3.material.mu_i,genericFluxTube3.material.n,genericFluxTube3.mu_r,genericFluxTube3.mu_rConst,genericFluxTube3.nonLinearPermeability,ramp.duration,ramp.height,ramp.offset,ramp.startTime,ramp1.duration,ramp1.height,ramp1.offset,ramp1.startTime,signalSource.Phi,signalSource.V_m,signalSource1.Phi,signalSource1.V_m,time