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.001238/0.001238, allocations: 82.66 kB / 21.42 MB, free: 3.07 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.001282/0.001282, allocations: 171.8 kB / 24.82 MB, free: 8.883 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 1.023/1.023, allocations: 177.2 MB / 205.3 MB, free: 5.477 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.2861/0.2861, allocations: 32.81 MB / 294.6 MB, free: 1.242 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.214e-06/2.214e-06, allocations: 0 / 376.5 MB, free: 4.434 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.541e-05/1.762e-05, allocations: 9.484 kB / 376.5 MB, free: 4.426 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.002975/0.002993, allocations: 2.665 MB / 379.1 MB, free: 1.742 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00115/0.004143, allocations: 0.771 MB / 379.9 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001499/0.004293, allocations: 8 kB / 379.9 MB, free: 0.957 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002077/0.004501, allocations: 67.38 kB / 380 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001941/0.004695, allocations: 115 kB / 380.1 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002096/0.004905, allocations: 111.8 kB / 380.2 MB, free: 0.668 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003094/0.005214, allocations: 434.2 kB / 380.6 MB, free: 248 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002003/0.005414, allocations: 95.84 kB / 380.7 MB, free: 148 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002755/0.00569, allocations: 231.5 kB / 380.9 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001509/0.005841, allocations: 127.6 kB / 381.1 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.149e-05/0.005892, allocations: 36 kB / 381.1 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.502e-05/0.005937, allocations: 32 kB / 381.1 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.005e-05/0.005997, allocations: 75.73 kB / 381.2 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001077/0.006105, allocations: 123.7 kB / 381.3 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003006/0.006406, allocations: 270.9 kB / 381.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.006407, allocations: 0 / 381.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.006408, allocations: 4 kB / 381.6 MB, free: 15.26 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.006413, allocations: 0 / 381.6 MB, free: 15.26 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.0007721/0.007185, allocations: 0.6987 MB / 382.3 MB, free: 14.53 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.21e-05/0.007237, allocations: 11.98 kB / 382.3 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.647e-05/0.007324, allocations: 68.66 kB / 382.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002476/0.007572, allocations: 235.4 kB / 382.6 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.408e-05/0.007596, allocations: 25.38 kB / 382.6 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.66e-05/0.007632, allocations: 32.38 kB / 382.7 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003725/0.008005, allocations: 294.9 kB / 382.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.008015, allocations: 0 / 382.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.3e-05/0.008038, allocations: 12 kB / 383 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.008048, allocations: 8 kB / 383 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001646/0.008212, allocations: 102.2 kB / 383.1 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001248/0.00946, allocations: 1.282 MB / 384.3 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002307/0.009691, allocations: 168.6 kB / 384.5 MB, free: 12.13 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.489e-05/0.009746, allocations: 50.81 kB / 384.6 MB, free: 12.06 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.009768, allocations: 4 kB / 384.6 MB, free: 12.06 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.009793, allocations: 41.31 kB / 384.6 MB, free: 12.01 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 1.413e-06/0.009795, allocations: 4 kB / 384.6 MB, free: 12 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002757/0.01007, allocations: 133.4 kB / 384.7 MB, free: 11.87 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6e-05/0.01013, allocations: 132.5 kB / 384.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002336/0.01036, allocations: 342 kB / 385.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.01038, allocations: 29.7 kB / 385.2 MB, free: 11.32 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001504/0.01053, allocations: 298.6 kB / 385.5 MB, free: 11.02 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.573e-05/0.01057, allocations: 51.58 kB / 385.6 MB, free: 10.97 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.973e-05/0.01064, allocations: 63.58 kB / 385.6 MB, free: 10.9 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.01079, allocations: 0.504 MB / 386.1 MB, free: 10.38 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.877e-05/0.01084, allocations: 32.47 kB / 386.2 MB, free: 10.35 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001173/0.01096, allocations: 157.1 kB / 386.3 MB, free: 10.14 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001964/0.01116, allocations: 195.9 kB / 386.5 MB, free: 9.898 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.01116, allocations: 0 / 386.5 MB, free: 9.898 MB / 362.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002732/0.01143, allocations: 205.2 kB / 386.7 MB, free: 9.691 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.01145, allocations: 14.28 kB / 386.7 MB, free: 9.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-06/0.01146, allocations: 4 kB / 386.7 MB, free: 9.676 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.01147, allocations: 7.938 kB / 386.7 MB, free: 9.668 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002136/0.01169, allocations: 75.89 kB / 386.8 MB, free: 9.594 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.01169, allocations: 4 kB / 386.8 MB, free: 9.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001376/0.01183, allocations: 43.97 kB / 386.9 MB, free: 9.547 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.402e-05/0.01185, allocations: 12.56 kB / 386.9 MB, free: 9.535 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.0001089/0.01195, allocations: 172.5 kB / 387 MB, free: 9.355 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.101e-05/0.01204, allocations: 31.8 kB / 387.1 MB, free: 9.324 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.742e-05/0.01208, allocations: 29.58 kB / 387.1 MB, free: 9.297 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.01209, allocations: 3.984 kB / 387.1 MB, free: 9.293 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.01209, allocations: 4 kB / 387.1 MB, free: 9.289 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.01209, allocations: 0 / 387.1 MB, free: 9.289 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005554/0.01265, allocations: 0.5502 MB / 387.7 MB, free: 8.684 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.01265, allocations: 7.969 kB / 387.7 MB, free: 8.676 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001179/0.01277, allocations: 43.91 kB / 387.7 MB, free: 8.633 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.758e-06/0.01278, allocations: 4 kB / 387.7 MB, free: 8.629 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.01279, allocations: 4 kB / 387.7 MB, free: 8.625 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.01279, allocations: 0 / 387.7 MB, free: 8.625 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.01279, allocations: 4 kB / 387.7 MB, free: 8.621 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000264/0.01306, allocations: 425.2 kB / 388.1 MB, free: 8.164 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.501e-05/0.01309, allocations: 39.73 kB / 388.2 MB, free: 8.125 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.184e-05/0.01311, allocations: 8 kB / 388.2 MB, free: 8.117 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000136/0.01325, allocations: 15.98 kB / 388.2 MB, free: 8.102 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.439e-05/0.0133, allocations: 15.92 kB / 388.2 MB, free: 8.086 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.01331, allocations: 4 kB / 388.2 MB, free: 8.082 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001297/0.01344, allocations: 214.9 kB / 388.4 MB, free: 7.875 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01344, allocations: 0 / 388.4 MB, free: 7.875 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003429/0.01378, allocations: 79.84 kB / 388.5 MB, free: 7.797 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 8.588e-05/0.01387, allocations: 103.2 kB / 388.6 MB, free: 7.684 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001827/0.01405, allocations: 103.5 kB / 388.7 MB, free: 7.578 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.01405, allocations: 0 / 388.7 MB, free: 7.578 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.139e-05/0.01411, allocations: 51.53 kB / 388.8 MB, free: 7.523 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/0.01447, allocations: 16.66 kB / 388.8 MB, free: 7.508 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007037/0.01517, allocations: 0.5574 MB / 389.3 MB, free: 6.902 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.011e-05/0.01524, allocations: 95.89 kB / 389.4 MB, free: 6.789 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.715e-05/0.01532, allocations: 21.91 kB / 389.5 MB, free: 6.762 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.82e-05/0.01541, allocations: 90.19 kB / 389.5 MB, free: 6.672 MB / 362.7 MB Notification: Performance of SimCode: time 5.82e-07/0.01541, allocations: 3.938 kB / 389.5 MB, free: 6.668 MB / 362.7 MB Notification: Performance of Templates: time 0.004173/0.01958, allocations: 1.648 MB / 391.2 MB, free: 5.031 MB / 362.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 -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.225536525249481]