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.0009054/0.0009054, allocations: 81.91 kB / 21.42 MB, free: 3.07 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.0009379/0.0009379, allocations: 169.2 kB / 24.82 MB, free: 9.273 MB / 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.974/0.974, allocations: 177 MB / 205.1 MB, free: 5.488 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.2724/0.2724, allocations: 34.87 MB / 296.6 MB, free: 0.5039 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 1.273e-06/1.273e-06, allocations: 0 / 379.2 MB, free: 1.867 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.184e-05/1.312e-05, allocations: 3.297 kB / 379.2 MB, free: 1.863 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.00261/0.002623, allocations: 2.667 MB / 381.9 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008404/0.003463, allocations: 0.7826 MB / 382.7 MB, free: 14.39 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.003567, allocations: 4 kB / 382.7 MB, free: 14.39 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001615/0.003728, allocations: 67.39 kB / 382.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001515/0.00388, allocations: 107.1 kB / 382.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001809/0.00406, allocations: 119.8 kB / 382.9 MB, free: 14.1 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002558/0.004316, allocations: 430.2 kB / 383.4 MB, free: 13.68 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001446/0.004461, allocations: 99.83 kB / 383.5 MB, free: 13.57 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001767/0.004638, allocations: 231.5 kB / 383.7 MB, free: 13.35 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001064/0.004744, allocations: 119.6 kB / 383.8 MB, free: 13.23 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.74e-05/0.004781, allocations: 32 kB / 383.8 MB, free: 13.2 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.284e-05/0.004814, allocations: 32 kB / 383.9 MB, free: 13.17 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.497e-05/0.004859, allocations: 83.66 kB / 384 MB, free: 13.09 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.443e-05/0.004934, allocations: 123.7 kB / 384.1 MB, free: 12.96 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002131/0.005147, allocations: 270.9 kB / 384.3 MB, free: 12.7 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.005149, allocations: 4 kB / 384.3 MB, free: 12.7 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.005149, allocations: 0 / 384.3 MB, free: 12.7 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.005153, allocations: 0 / 384.3 MB, free: 12.7 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.0005867/0.00574, allocations: 0.6948 MB / 385 MB, free: 11.96 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.005773, allocations: 16.02 kB / 385.1 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.334e-05/0.005837, allocations: 68.66 kB / 385.1 MB, free: 11.88 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001812/0.006018, allocations: 239.4 kB / 385.4 MB, free: 11.62 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.006034, allocations: 21.38 kB / 385.4 MB, free: 11.6 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.615e-05/0.00606, allocations: 36.38 kB / 385.4 MB, free: 11.57 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000271/0.006332, allocations: 290.9 kB / 385.7 MB, free: 11.26 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.006341, allocations: 0 / 385.7 MB, free: 11.26 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.746e-05/0.006358, allocations: 12 kB / 385.7 MB, free: 11.25 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.904e-06/0.006366, allocations: 12 kB / 385.7 MB, free: 11.23 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001122/0.006478, allocations: 94.77 kB / 385.8 MB, free: 11.14 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009573/0.007436, allocations: 1.279 MB / 387.1 MB, free: 9.793 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001728/0.007608, allocations: 160.5 kB / 387.2 MB, free: 9.586 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.036e-05/0.007649, allocations: 54.89 kB / 387.3 MB, free: 9.516 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.958e-05/0.007668, allocations: 11.92 kB / 387.3 MB, free: 9.504 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.00769, allocations: 49.33 kB / 387.4 MB, free: 9.445 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 1.032e-06/0.007691, allocations: 0 / 387.4 MB, free: 9.445 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002058/0.007897, allocations: 133.3 kB / 387.5 MB, free: 9.309 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/0.007939, allocations: 128.5 kB / 387.6 MB, free: 9.152 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000167/0.008106, allocations: 334.1 kB / 387.9 MB, free: 8.809 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/0.008119, allocations: 33.64 kB / 388 MB, free: 8.77 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.008228, allocations: 302.6 kB / 388.3 MB, free: 8.469 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.565e-05/0.008254, allocations: 51.58 kB / 388.3 MB, free: 8.418 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.7e-05/0.008311, allocations: 63.58 kB / 388.4 MB, free: 8.344 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.008421, allocations: 0.5117 MB / 388.9 MB, free: 7.82 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.578e-05/0.008457, allocations: 28.66 kB / 388.9 MB, free: 7.793 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.833e-05/0.008545, allocations: 149 kB / 389.1 MB, free: 7.594 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001337/0.008679, allocations: 192.2 kB / 389.3 MB, free: 7.352 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.008682, allocations: 0 / 389.3 MB, free: 7.352 MB / 362.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0001905/0.008872, allocations: 209.2 kB / 389.5 MB, free: 7.141 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.008883, allocations: 7.938 kB / 389.5 MB, free: 7.133 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.008888, allocations: 4 kB / 389.5 MB, free: 7.129 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.008901, allocations: 4 kB / 389.5 MB, free: 7.125 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001623/0.009063, allocations: 83.83 kB / 389.6 MB, free: 7.043 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.009067, allocations: 4.156 kB / 389.6 MB, free: 7.039 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.649e-05/0.009164, allocations: 47.97 kB / 389.6 MB, free: 6.992 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.009175, allocations: 11.98 kB / 389.6 MB, free: 6.98 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 7.699e-05/0.009252, allocations: 172.5 kB / 389.8 MB, free: 6.801 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.059e-05/0.009303, allocations: 31.8 kB / 389.8 MB, free: 6.77 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.452e-05/0.009337, allocations: 33.58 kB / 389.9 MB, free: 6.738 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.00934, allocations: 4 kB / 389.9 MB, free: 6.734 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.009341, allocations: 0 / 389.9 MB, free: 6.734 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.676e-06/0.009345, allocations: 3.984 kB / 389.9 MB, free: 6.73 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000391/0.009736, allocations: 0.5462 MB / 390.4 MB, free: 6.129 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.009739, allocations: 4 kB / 390.4 MB, free: 6.125 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.585e-05/0.009824, allocations: 43.91 kB / 390.5 MB, free: 6.082 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.009826, allocations: 0 / 390.5 MB, free: 6.082 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.009833, allocations: 4 kB / 390.5 MB, free: 6.078 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.009835, allocations: 0 / 390.5 MB, free: 6.078 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.009836, allocations: 4 kB / 390.5 MB, free: 6.074 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001836/0.01002, allocations: 433.2 kB / 390.9 MB, free: 5.609 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.433e-05/0.01004, allocations: 35.83 kB / 390.9 MB, free: 5.574 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.586e-05/0.01006, allocations: 8 kB / 390.9 MB, free: 5.566 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.672e-05/0.01015, allocations: 8 kB / 390.9 MB, free: 5.559 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.622e-05/0.01018, allocations: 24.19 kB / 391 MB, free: 5.535 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.119e-06/0.01019, allocations: 4 kB / 391 MB, free: 5.531 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.673e-05/0.01027, allocations: 218.8 kB / 391.2 MB, free: 5.32 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01027, allocations: 0 / 391.2 MB, free: 5.32 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002313/0.01051, allocations: 75.84 kB / 391.2 MB, free: 5.246 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 6.904e-05/0.01057, allocations: 99.19 kB / 391.3 MB, free: 5.137 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001356/0.01071, allocations: 111.4 kB / 391.5 MB, free: 5.023 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01071, allocations: 0 / 391.5 MB, free: 5.023 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.654e-05/0.01076, allocations: 55.84 kB / 391.5 MB, free: 4.965 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002519/0.01101, allocations: 16.66 kB / 391.5 MB, free: 4.949 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005182/0.01153, allocations: 0.558 MB / 392.1 MB, free: 4.34 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.134e-05/0.01158, allocations: 95.89 kB / 392.2 MB, free: 4.227 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.569e-05/0.01164, allocations: 17.64 kB / 392.2 MB, free: 4.203 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.501e-05/0.0117, allocations: 86.2 kB / 392.3 MB, free: 4.117 MB / 362.7 MB Notification: Performance of SimCode: time 6.01e-07/0.0117, allocations: 0 / 392.3 MB, free: 4.117 MB / 362.7 MB Notification: Performance of Templates: time 0.00349/0.01519, allocations: 1.658 MB / 393.9 MB, free: 2.473 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.755942363291979]