Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009815/0.0009815, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001083/0.001083, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9353/0.9353, allocations: 177 MB / 204.8 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2408/0.2408, allocations: 34.86 MB / 296.3 MB, free: 0.543 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Magnetic.FluxTubes.Sources") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 378.7 MB, free: 2.117 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.876e-05/3.085e-05, allocations: 7.094 kB / 378.7 MB, free: 2.109 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.006723/0.006754, allocations: 2.703 MB / 381.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004678/0.01143, allocations: 0.7827 MB / 382.2 MB, free: 14.6 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002232/0.01165, allocations: 7.938 kB / 382.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000248/0.0119, allocations: 71.36 kB / 382.3 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002633/0.01217, allocations: 103.2 kB / 382.4 MB, free: 14.42 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002854/0.01245, allocations: 119.7 kB / 382.5 MB, free: 14.3 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004119/0.01286, allocations: 430.3 kB / 383 MB, free: 13.88 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001921/0.01306, allocations: 95.83 kB / 383 MB, free: 13.79 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002649/0.01332, allocations: 227.5 kB / 383.3 MB, free: 13.56 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001511/0.01347, allocations: 127.6 kB / 383.4 MB, free: 13.44 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.339e-05/0.01353, allocations: 32 kB / 383.4 MB, free: 13.41 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001016/0.01363, allocations: 36 kB / 383.5 MB, free: 13.37 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.131e-05/0.01368, allocations: 79.67 kB / 383.5 MB, free: 13.29 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001031/0.01378, allocations: 127.7 kB / 383.7 MB, free: 13.17 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002883/0.01407, allocations: 270.9 kB / 383.9 MB, free: 12.9 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.01407, allocations: 0 / 383.9 MB, free: 12.9 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.01408, allocations: 0 / 383.9 MB, free: 12.9 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.01408, allocations: 0 / 383.9 MB, free: 12.9 MB / 362.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.000806/0.01489, allocations: 0.6988 MB / 384.6 MB, free: 12.17 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.01493, allocations: 8.031 kB / 384.6 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001121/0.01505, allocations: 68.66 kB / 384.7 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003115/0.01536, allocations: 231.3 kB / 384.9 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.74e-05/0.01538, allocations: 29.38 kB / 385 MB, free: 11.81 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.241e-05/0.01543, allocations: 32.38 kB / 385 MB, free: 11.78 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005331/0.01596, allocations: 311 kB / 385.3 MB, free: 11.45 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.01597, allocations: 0 / 385.3 MB, free: 11.45 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.167e-05/0.016, allocations: 16 kB / 385.3 MB, free: 11.44 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.36e-05/0.01602, allocations: 12 kB / 385.3 MB, free: 11.43 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005597/0.01658, allocations: 127.3 kB / 385.4 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00166/0.01824, allocations: 1.325 MB / 386.8 MB, free: 9.898 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003199/0.01856, allocations: 176.5 kB / 386.9 MB, free: 9.676 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.675e-05/0.01863, allocations: 50.91 kB / 387 MB, free: 9.609 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.061e-05/0.01867, allocations: 11.94 kB / 387 MB, free: 9.598 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/0.0187, allocations: 41.38 kB / 387 MB, free: 9.547 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 1.853e-06/0.0187, allocations: 4 kB / 387 MB, free: 9.543 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.0004061/0.01911, allocations: 141.4 kB / 387.2 MB, free: 9.398 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.301e-05/0.01917, allocations: 132.5 kB / 387.3 MB, free: 9.238 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003069/0.01948, allocations: 338.2 kB / 387.6 MB, free: 8.891 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.01949, allocations: 25.7 kB / 387.7 MB, free: 8.859 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001684/0.01966, allocations: 306.7 kB / 388 MB, free: 8.555 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.054e-05/0.0197, allocations: 51.59 kB / 388 MB, free: 8.504 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.119e-05/0.01979, allocations: 67.53 kB / 388.1 MB, free: 8.426 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.01995, allocations: 0.508 MB / 388.6 MB, free: 7.906 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.474e-05/0.02003, allocations: 36.53 kB / 388.6 MB, free: 7.871 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000159/0.02019, allocations: 153 kB / 388.8 MB, free: 7.668 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002378/0.02043, allocations: 195.7 kB / 389 MB, free: 7.422 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.02044, allocations: 0 / 389 MB, free: 7.422 MB / 362.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003576/0.02079, allocations: 233.3 kB / 389.2 MB, free: 7.188 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.02082, allocations: 4 kB / 389.2 MB, free: 7.184 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.02082, allocations: 4 kB / 389.2 MB, free: 7.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.02084, allocations: 4 kB / 389.2 MB, free: 7.176 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002737/0.02112, allocations: 79.89 kB / 389.3 MB, free: 7.098 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/0.02113, allocations: 4.406 kB / 389.3 MB, free: 7.094 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001781/0.02131, allocations: 44.28 kB / 389.3 MB, free: 7.051 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.241e-05/0.02133, allocations: 16 kB / 389.3 MB, free: 7.035 MB / 362.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 0.0001195/0.02145, allocations: 172.5 kB / 389.5 MB, free: 6.855 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/0.02155, allocations: 35.73 kB / 389.5 MB, free: 6.82 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.435e-05/0.02161, allocations: 29.58 kB / 389.6 MB, free: 6.793 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.02161, allocations: 3.984 kB / 389.6 MB, free: 6.789 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.02162, allocations: 4 kB / 389.6 MB, free: 6.785 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.02162, allocations: 4 kB / 389.6 MB, free: 6.781 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007516/0.02237, allocations: 0.6042 MB / 390.2 MB, free: 6.113 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.02238, allocations: 0 / 390.2 MB, free: 6.113 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000153/0.02253, allocations: 39.97 kB / 390.2 MB, free: 6.074 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.02254, allocations: 4 kB / 390.2 MB, free: 6.07 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.02255, allocations: 4 kB / 390.2 MB, free: 6.066 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.702e-06/0.02256, allocations: 7.984 kB / 390.2 MB, free: 6.059 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.02256, allocations: 7.938 kB / 390.3 MB, free: 6.051 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003103/0.02287, allocations: 429.4 kB / 390.7 MB, free: 5.59 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.156e-05/0.02291, allocations: 39.73 kB / 390.7 MB, free: 5.551 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.927e-05/0.02294, allocations: 4 kB / 390.7 MB, free: 5.547 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001578/0.0231, allocations: 11.98 kB / 390.7 MB, free: 5.535 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.925e-05/0.02317, allocations: 23.86 kB / 390.8 MB, free: 5.512 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-06/0.02318, allocations: 4 kB / 390.8 MB, free: 5.508 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001693/0.02335, allocations: 223 kB / 391 MB, free: 5.293 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.02335, allocations: 3.938 kB / 391 MB, free: 5.289 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004211/0.02377, allocations: 75.84 kB / 391.1 MB, free: 5.215 MB / 362.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 0.0001179/0.02389, allocations: 103.2 kB / 391.2 MB, free: 5.102 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002757/0.02416, allocations: 119.4 kB / 391.3 MB, free: 4.98 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.02416, allocations: 0 / 391.3 MB, free: 4.98 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.674e-05/0.02424, allocations: 43.59 kB / 391.3 MB, free: 4.934 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004321/0.02467, allocations: 24.59 kB / 391.3 MB, free: 4.91 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009422/0.02562, allocations: 0.5618 MB / 391.9 MB, free: 4.297 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.618e-05/0.0257, allocations: 91.95 kB / 392 MB, free: 4.188 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.959e-05/0.02579, allocations: 21.86 kB / 392 MB, free: 4.16 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.101e-05/0.02585, allocations: 20.5 kB / 392 MB, free: 4.141 MB / 362.7 MB Notification: Performance of SimCode: time 1.323e-06/0.02585, allocations: 0 / 392 MB, free: 4.141 MB / 362.7 MB Notification: Performance of Templates: time 0.00544/0.03129, allocations: 1.586 MB / 393.6 MB, free: 2.562 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 2.9218460801057518]