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.001233/0.001233, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001856/0.003089, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001201/0.001201, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001549/0.00275, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 1.082/1.082, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1184/1.2, allocations: 53.64 MB / 243.3 MB, free: 15.59 MB / 250.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.2958/0.2958, allocations: 32.79 MB / 276.8 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03239/0.3282, allocations: 12.53 MB / 289.3 MB, free: 8.68 MB / 282.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.135e-06/2.135e-06, allocations: 0 / 290.6 MB, free: 7.672 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.418e-05/1.631e-05, allocations: 5.016 kB / 290.6 MB, free: 7.668 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.003593/0.00361, allocations: 2.732 MB / 293.3 MB, free: 5.543 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001008/0.004618, allocations: 0.8051 MB / 294.1 MB, free: 4.77 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001299/0.004748, allocations: 8 kB / 294.1 MB, free: 4.762 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001525/0.0049, allocations: 63.38 kB / 294.2 MB, free: 4.699 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001523/0.005052, allocations: 115 kB / 294.3 MB, free: 4.586 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002092/0.005262, allocations: 107.8 kB / 294.4 MB, free: 4.48 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003507/0.005612, allocations: 431.8 kB / 294.8 MB, free: 4.059 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002054/0.005818, allocations: 104.5 kB / 294.9 MB, free: 3.949 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002624/0.00608, allocations: 265.6 kB / 295.2 MB, free: 3.691 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001298/0.00621, allocations: 119.7 kB / 295.3 MB, free: 3.574 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.414e-05/0.006254, allocations: 36 kB / 295.3 MB, free: 3.539 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.501e-05/0.006289, allocations: 32 kB / 295.4 MB, free: 3.508 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.389e-05/0.006333, allocations: 59.75 kB / 295.4 MB, free: 3.449 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.906e-05/0.006422, allocations: 103.8 kB / 295.5 MB, free: 3.348 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002505/0.006673, allocations: 243 kB / 295.8 MB, free: 3.109 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.848e-05/0.006691, allocations: 0 / 295.8 MB, free: 3.109 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.006692, allocations: 0 / 295.8 MB, free: 3.109 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.899e-05/0.006711, allocations: 0 / 295.8 MB, free: 3.109 MB / 282.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.0007683/0.007479, allocations: 0.6525 MB / 296.4 MB, free: 2.434 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.007517, allocations: 8.031 kB / 296.4 MB, free: 2.426 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.863e-05/0.007586, allocations: 52.89 kB / 296.5 MB, free: 2.375 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002275/0.007814, allocations: 196.6 kB / 296.7 MB, free: 2.156 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.464e-05/0.007838, allocations: 25.38 kB / 296.7 MB, free: 2.133 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.171e-05/0.00787, allocations: 36.38 kB / 296.7 MB, free: 2.098 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003393/0.008209, allocations: 287.5 kB / 297 MB, free: 1.797 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.008222, allocations: 8 kB / 297 MB, free: 1.789 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.282e-05/0.008245, allocations: 12 kB / 297 MB, free: 1.777 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.416e-05/0.008259, allocations: 12 kB / 297.1 MB, free: 1.766 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001303/0.00839, allocations: 79.89 kB / 297.1 MB, free: 1.688 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001087/0.009477, allocations: 0.9822 MB / 298.1 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002128/0.009689, allocations: 130.4 kB / 298.2 MB, free: 492 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.983e-05/0.009729, allocations: 39.67 kB / 298.3 MB, free: 440 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.992e-05/0.009759, allocations: 4 kB / 298.3 MB, free: 436 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.009786, allocations: 42.5 kB / 298.3 MB, free: 384 kB / 282.7 MB Notification: Performance of pre-optimization done (n=15): time 1.413e-06/0.009788, allocations: 0 / 298.3 MB, free: 384 kB / 282.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002173/0.01, allocations: 109.5 kB / 298.4 MB, free: 268 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.018e-05/0.01007, allocations: 132.5 kB / 298.6 MB, free: 104 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001839/0.01025, allocations: 282.8 kB / 298.8 MB, free: 15.82 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.01026, allocations: 25.7 kB / 298.9 MB, free: 15.79 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.01037, allocations: 232.6 kB / 299.1 MB, free: 15.55 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.111e-05/0.0104, allocations: 55.52 kB / 299.1 MB, free: 15.5 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.014e-05/0.01046, allocations: 57.92 kB / 299.2 MB, free: 15.43 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.01057, allocations: 338.8 kB / 299.5 MB, free: 15.09 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.299e-05/0.0106, allocations: 25.05 kB / 299.6 MB, free: 15.07 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.226e-05/0.01068, allocations: 112.1 kB / 299.7 MB, free: 14.92 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/0.01082, allocations: 159.1 kB / 299.8 MB, free: 14.73 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.01082, allocations: 4 kB / 299.8 MB, free: 14.72 MB / 298.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0001759/0.011, allocations: 173.2 kB / 300 MB, free: 14.55 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.01101, allocations: 11.92 kB / 300 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.01102, allocations: 4 kB / 300 MB, free: 14.53 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.01104, allocations: 4.25 kB / 300 MB, free: 14.53 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002299/0.01127, allocations: 91.89 kB / 300.1 MB, free: 14.44 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.924e-06/0.01127, allocations: 7.938 kB / 300.1 MB, free: 14.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001017/0.01138, allocations: 39.72 kB / 300.1 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.656e-05/0.01139, allocations: 12 kB / 300.2 MB, free: 14.38 MB / 298.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 8.617e-05/0.01148, allocations: 117.8 kB / 300.3 MB, free: 14.25 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.767e-05/0.01153, allocations: 23.97 kB / 300.3 MB, free: 14.23 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.648e-05/0.01157, allocations: 33.52 kB / 300.3 MB, free: 14.19 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.01158, allocations: 7.938 kB / 300.3 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.01158, allocations: 4 kB / 300.3 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.01159, allocations: 4 kB / 300.3 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004075/0.01199, allocations: 406 kB / 300.7 MB, free: 13.74 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.01199, allocations: 0 / 300.7 MB, free: 13.74 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/0.0121, allocations: 47.91 kB / 300.8 MB, free: 13.69 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.359e-05/0.01212, allocations: 23.84 kB / 300.8 MB, free: 13.67 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.818e-06/0.01212, allocations: 4 kB / 300.8 MB, free: 13.66 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.01213, allocations: 8.156 kB / 300.8 MB, free: 13.66 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.01213, allocations: 4 kB / 300.8 MB, free: 13.65 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.01213, allocations: 0 / 300.8 MB, free: 13.65 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001758/0.01231, allocations: 301.4 kB / 301.1 MB, free: 13.33 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.081e-05/0.01233, allocations: 4 kB / 301.1 MB, free: 13.32 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.502e-05/0.01242, allocations: 12.06 kB / 301.1 MB, free: 13.31 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.064e-05/0.01247, allocations: 19.97 kB / 301.2 MB, free: 13.29 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.01247, allocations: 4 kB / 301.2 MB, free: 13.29 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.762e-05/0.01254, allocations: 92.62 kB / 301.3 MB, free: 13.2 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01254, allocations: 0 / 301.3 MB, free: 13.2 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002157/0.01276, allocations: 91.67 kB / 301.3 MB, free: 13.11 MB / 298.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 7.852e-05/0.01283, allocations: 81.34 kB / 301.4 MB, free: 13.02 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001472/0.01298, allocations: 104.6 kB / 301.5 MB, free: 12.91 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.238e-05/0.01299, allocations: 8.75 kB / 301.5 MB, free: 12.91 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.04e-05/0.01303, allocations: 37.41 kB / 301.6 MB, free: 12.87 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002625/0.0133, allocations: 48.77 kB / 301.6 MB, free: 12.82 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001152/0.01445, allocations: 0.5629 MB / 302.2 MB, free: 12.21 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.437e-05/0.01451, allocations: 91.95 kB / 302.3 MB, free: 12.1 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.888e-05/0.01457, allocations: 21.91 kB / 302.3 MB, free: 12.08 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.598e-05/0.01465, allocations: 71.36 kB / 302.4 MB, free: 12.01 MB / 298.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01465, allocations: 0 / 302.4 MB, free: 12.01 MB / 298.7 MB Notification: Performance of Templates: time 0.004317/0.01897, allocations: 1.542 MB / 303.9 MB, free: 10.49 MB / 298.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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0537165822461247]