Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0015/0.0015, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.006956/0.006956, allocations: 157.3 kB / 24.69 MB, free: 9.43 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9082/0.9082, allocations: 177.1 MB / 205 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2558/0.2558, allocations: 32.8 MB / 294.2 MB, free: 1.199 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Magnetic.FluxTubes.Sources,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|constantSource.V_m|constantSource.Phi|signalSource.V_m|signalSource.Phi|constantSource1.Phi|constantSource1.V_m|signalSource1.Phi|signalSource1.V_m",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources") translateModel(ModelicaTest.Magnetic.FluxTubes.Sources,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|constantSource.V_m|constantSource.Phi|signalSource.V_m|signalSource.Phi|constantSource1.Phi|constantSource1.V_m|signalSource1.Phi|signalSource1.V_m",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 440.8 MB, free: 3.777 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.828e-05/3.032e-05, allocations: 6.219 kB / 440.8 MB, free: 3.77 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.003267/0.003297, allocations: 2.52 MB / 443.4 MB, free: 1.234 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001326/0.004624, allocations: 0.7437 MB / 444.1 MB, free: 496 kB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001314/0.004755, allocations: 7.938 kB / 444.1 MB, free: 488 kB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000178/0.004933, allocations: 79.3 kB / 444.2 MB, free: 408 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001929/0.005126, allocations: 107.2 kB / 444.3 MB, free: 300 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002134/0.005339, allocations: 111.7 kB / 444.4 MB, free: 188 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.2015/0.2069, allocations: 430.5 kB / 444.8 MB, free: 43.88 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002662/0.2072, allocations: 96.94 kB / 444.9 MB, free: 43.87 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002292/0.2074, allocations: 226.8 kB / 445.1 MB, free: 43.87 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001055/0.2075, allocations: 120.9 kB / 445.2 MB, free: 43.86 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.666e-05/0.2075, allocations: 31.81 kB / 445.3 MB, free: 43.86 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.981e-05/0.2076, allocations: 32.53 kB / 445.3 MB, free: 43.86 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.173e-05/0.2076, allocations: 84.17 kB / 445.4 MB, free: 43.84 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.387e-05/0.2077, allocations: 123.5 kB / 445.5 MB, free: 43.83 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002863/0.208, allocations: 431.9 kB / 445.9 MB, free: 43.8 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.208, allocations: 0 / 445.9 MB, free: 43.8 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.208, allocations: 0 / 445.9 MB, free: 43.8 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.062e-06/0.208, allocations: 0 / 445.9 MB, free: 43.8 MB / 410.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.0005625/0.2085, allocations: 0.6025 MB / 446.5 MB, free: 43.4 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.2086, allocations: 14.33 kB / 446.6 MB, free: 43.4 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.62e-05/0.2086, allocations: 44.97 kB / 446.6 MB, free: 43.38 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002569/0.2089, allocations: 231 kB / 446.8 MB, free: 43.21 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.2089, allocations: 21.47 kB / 446.8 MB, free: 43.21 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.742e-05/0.2089, allocations: 35.56 kB / 446.9 MB, free: 43.21 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000347/0.2093, allocations: 363.7 kB / 447.2 MB, free: 43.14 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.2093, allocations: 3.938 kB / 447.2 MB, free: 43.13 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.418e-05/0.2093, allocations: 12.5 kB / 447.2 MB, free: 43.13 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.2093, allocations: 8.125 kB / 447.3 MB, free: 43.13 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003147/0.2096, allocations: 270.9 kB / 447.5 MB, free: 43.13 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008959/0.2105, allocations: 1.16 MB / 448.7 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002498/0.2108, allocations: 186.9 kB / 448.9 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.79e-05/0.2109, allocations: 82.5 kB / 448.9 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.236e-05/0.2109, allocations: 6.219 kB / 449 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.327e-05/0.2109, allocations: 40.31 kB / 449 MB, free: 42.24 MB / 410.7 MB Notification: Performance of pre-optimization done (n=15): time 1.313e-06/0.2109, allocations: 0 / 449 MB, free: 42.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=15): time 0.0003999/0.2113, allocations: 246.2 kB / 449.2 MB, free: 42.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.828e-05/0.2113, allocations: 135.9 kB / 449.4 MB, free: 42 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001564/0.2115, allocations: 302.8 kB / 449.7 MB, free: 41.82 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.127e-06/0.2115, allocations: 32.58 kB / 449.7 MB, free: 41.79 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.846e-05/0.2116, allocations: 250.8 kB / 449.9 MB, free: 41.58 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.862e-05/0.2116, allocations: 54.73 kB / 450 MB, free: 41.54 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.054e-05/0.2116, allocations: 57.7 kB / 450 MB, free: 41.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.061e-05/0.2117, allocations: 338.3 kB / 450.4 MB, free: 41.17 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000111/0.2118, allocations: 76.5 kB / 450.4 MB, free: 41.15 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001266/0.2119, allocations: 167.3 kB / 450.6 MB, free: 41.02 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002338/0.2121, allocations: 256.8 kB / 450.9 MB, free: 40.87 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2121, allocations: 0 / 450.9 MB, free: 40.87 MB / 410.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000318/0.2125, allocations: 309.3 kB / 451.2 MB, free: 40.76 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.2125, allocations: 8.531 kB / 451.2 MB, free: 40.76 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.2125, allocations: 2.812 kB / 451.2 MB, free: 40.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.2125, allocations: 3.094 kB / 451.2 MB, free: 40.76 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001796/0.2127, allocations: 89.77 kB / 451.3 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.2127, allocations: 12.83 kB / 451.3 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/0.2128, allocations: 40.92 kB / 451.3 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.2128, allocations: 15.56 kB / 451.3 MB, free: 40.73 MB / 410.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.729e-05/0.2129, allocations: 146.8 kB / 451.5 MB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.336e-05/0.2129, allocations: 27.3 kB / 451.5 MB, free: 40.58 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.253e-05/0.213, allocations: 33.66 kB / 451.5 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.213, allocations: 4.906 kB / 451.5 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.213, allocations: 0 / 451.5 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.213, allocations: 5.703 kB / 451.5 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003487/0.2133, allocations: 0.5036 MB / 452.1 MB, free: 40.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.2133, allocations: 3.875 kB / 452.1 MB, free: 40.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001126/0.2134, allocations: 50.64 kB / 452.1 MB, free: 40.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.2134, allocations: 9.75 kB / 452.1 MB, free: 40.13 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.2135, allocations: 6.938 kB / 452.1 MB, free: 40.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.2135, allocations: 6.125 kB / 452.1 MB, free: 40.13 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.2135, allocations: 2.938 kB / 452.1 MB, free: 40.13 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002251/0.2137, allocations: 391.9 kB / 452.5 MB, free: 39.84 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.122e-05/0.2137, allocations: 24.41 kB / 452.5 MB, free: 39.82 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.893e-05/0.2137, allocations: 14.27 kB / 452.6 MB, free: 39.81 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.2138, allocations: 15.89 kB / 452.6 MB, free: 39.81 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.8e-05/0.2139, allocations: 23.75 kB / 452.6 MB, free: 39.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.91e-06/0.2139, allocations: 3 kB / 452.6 MB, free: 39.8 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001003/0.214, allocations: 201.6 kB / 452.8 MB, free: 39.68 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.214, allocations: 0 / 452.8 MB, free: 39.68 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000242/0.2142, allocations: 80.34 kB / 452.9 MB, free: 39.66 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.262e-05/0.2143, allocations: 100.3 kB / 453 MB, free: 39.57 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002801/0.2146, allocations: 188 kB / 453.1 MB, free: 39.54 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.2146, allocations: 0 / 453.1 MB, free: 39.54 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.2147, allocations: 78.62 kB / 453.2 MB, free: 39.52 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002731/0.215, allocations: 25.67 kB / 453.3 MB, free: 39.51 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005281/0.2155, allocations: 0.5593 MB / 453.8 MB, free: 39.11 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.679e-05/0.2156, allocations: 170.4 kB / 454 MB, free: 39.03 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.856e-05/0.2156, allocations: 21.19 kB / 454 MB, free: 39.02 MB / 410.7 MB Notification: Performance of SimCode: time 1.362e-06/0.2156, allocations: 0 / 454 MB, free: 39.02 MB / 410.7 MB Notification: Performance of Templates: time 0.003341/0.219, allocations: 3.223 MB / 457.2 MB, free: 38.68 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Sources/Sources.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.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: 4.805015561170876]