Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.Shapes.FixedShape,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|signalSource.V_m|signalSource.Phi|cuboid.G_m|cuboid.A|hollowCylinderAxialFlux.G_m|hollowCylinderAxialFlux.A|hollowCylinderRadialFlux.G_m|hollowCylinderRadialFlux.A|genericFluxTube.G_m|genericFluxTube.A",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape") translateModel(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|signalSource.V_m|signalSource.Phi|cuboid.G_m|cuboid.A|hollowCylinderAxialFlux.G_m|hollowCylinderAxialFlux.A|hollowCylinderRadialFlux.G_m|hollowCylinderRadialFlux.A|genericFluxTube.G_m|genericFluxTube.A",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001056/0.001056, allocations: 113.1 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001243/0.001243, allocations: 208.9 kB / 19.4 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.34/1.34, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2085/0.2085, allocations: 46.09 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 79.88 kB / 482 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.365/0.3665, allocations: 62.43 MB / 0.5316 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.004449/0.371, allocations: 2.484 MB / 0.5341 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001729/0.3728, allocations: 0.8311 MB / 0.5349 GB, free: 11 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002792/0.3731, allocations: 8.062 kB / 0.5349 GB, free: 11 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000302/0.3734, allocations: 59.88 kB / 0.5349 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004266/0.3739, allocations: 108 kB / 0.5351 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003658/0.3742, allocations: 102.8 kB / 0.5352 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005128/0.3748, allocations: 353.7 kB / 0.5355 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002165/0.375, allocations: 93.95 kB / 0.5356 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003468/0.3753, allocations: 145.2 kB / 0.5357 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002621/0.3756, allocations: 155 kB / 0.5359 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.871e-05/0.3757, allocations: 29.19 kB / 0.5359 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.3758, allocations: 32.53 kB / 0.5359 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.177e-05/0.3759, allocations: 74.86 kB / 0.536 GB, free: 10.26 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00017/0.3761, allocations: 158.3 kB / 0.5361 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000485/0.3765, allocations: 373.3 kB / 0.5365 GB, free: 9.867 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.3766, allocations: 4 kB / 0.5365 GB, free: 9.863 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3766, allocations: 5.25 kB / 0.5365 GB, free: 9.859 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.422e-05/0.3766, allocations: 3.938 kB / 0.5365 GB, free: 9.855 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.00139/0.378, allocations: 0.6235 MB / 0.5371 GB, free: 9.305 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.378, allocations: 9.406 kB / 0.5371 GB, free: 9.305 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000226/0.3783, allocations: 40.92 kB / 0.5372 GB, free: 9.285 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004352/0.3787, allocations: 269.6 kB / 0.5374 GB, free: 9.008 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.586e-05/0.3788, allocations: 18.25 kB / 0.5374 GB, free: 9 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.822e-05/0.3788, allocations: 32.39 kB / 0.5375 GB, free: 8.984 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006102/0.3794, allocations: 247.1 kB / 0.5377 GB, free: 8.832 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.3795, allocations: 0 / 0.5377 GB, free: 8.832 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.191e-05/0.3795, allocations: 15.39 kB / 0.5377 GB, free: 8.82 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/0.3795, allocations: 5.812 kB / 0.5377 GB, free: 8.82 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005384/0.3801, allocations: 228.2 kB / 0.5379 GB, free: 8.719 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00159/0.3817, allocations: 0.8799 MB / 0.5388 GB, free: 7.988 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006194/0.3823, allocations: 308 kB / 0.5391 GB, free: 7.832 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002907/0.3826, allocations: 145.7 kB / 0.5392 GB, free: 7.758 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.88e-05/0.3826, allocations: 4.25 kB / 0.5392 GB, free: 7.758 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.623e-05/0.3827, allocations: 36.53 kB / 0.5393 GB, free: 7.715 MB / 398.1 MB Notification: Performance of pre-optimization done (n=31): time 1.643e-06/0.3827, allocations: 0 / 0.5393 GB, free: 7.715 MB / 398.1 MB Notification: Performance of matching and sorting (n=31): time 0.004622/0.3873, allocations: 1.261 MB / 0.5405 GB, free: 6.828 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.045e-05/0.3874, allocations: 63.3 kB / 0.5406 GB, free: 6.758 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002589/0.3876, allocations: 227.8 kB / 0.5408 GB, free: 6.594 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.816e-05/0.3877, allocations: 30.73 kB / 0.5408 GB, free: 6.559 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.3878, allocations: 174.4 kB / 0.541 GB, free: 6.398 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.16e-05/0.3879, allocations: 98 kB / 0.5411 GB, free: 6.312 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.555e-05/0.388, allocations: 56.83 kB / 0.5411 GB, free: 6.27 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.3881, allocations: 340.7 kB / 0.5415 GB, free: 5.934 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002359/0.3884, allocations: 93.08 kB / 0.5415 GB, free: 5.891 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002646/0.3887, allocations: 123.6 kB / 0.5417 GB, free: 5.816 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004857/0.3892, allocations: 235.6 kB / 0.5419 GB, free: 5.691 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.3892, allocations: 1.094 kB / 0.5419 GB, free: 5.691 MB / 398.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.00183/0.391, allocations: 0.5444 MB / 0.5424 GB, free: 5.379 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.391, allocations: 5.594 kB / 0.5424 GB, free: 5.379 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.391, allocations: 1.688 kB / 0.5424 GB, free: 5.379 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001694/0.3927, allocations: 314.7 kB / 0.5427 GB, free: 5.223 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001894/0.3929, allocations: 34.44 kB / 0.5428 GB, free: 5.207 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008106/0.4011, allocations: 6.843 MB / 0.5494 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002733/0.4014, allocations: 27.88 kB / 0.5495 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.737e-05/0.4014, allocations: 11.94 kB / 0.5495 GB, free: 14.55 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,5), (1,5), (1,5), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.000196/0.4016, allocations: 145.8 kB / 0.5496 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.678e-05/0.4017, allocations: 27.62 kB / 0.5496 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001794/0.4035, allocations: 0.548 MB / 0.5502 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.607e-06/0.4035, allocations: 7.984 kB / 0.5502 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.4035, allocations: 7.938 kB / 0.5502 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.4035, allocations: 0 / 0.5502 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004576/0.404, allocations: 361.3 kB / 0.5505 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.404, allocations: 4 kB / 0.5505 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001294/0.4041, allocations: 15.98 kB / 0.5506 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001515/0.4057, allocations: 319.1 kB / 0.5509 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.165e-05/0.4057, allocations: 4 kB / 0.5509 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007496/0.4132, allocations: 6.893 MB / 0.5576 GB, free: 5.59 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.4132, allocations: 3.938 kB / 0.5576 GB, free: 5.586 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001768/0.415, allocations: 0.6196 MB / 0.5582 GB, free: 4.938 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.4151, allocations: 112.5 kB / 0.5583 GB, free: 4.809 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.145e-05/0.4152, allocations: 4.25 kB / 0.5583 GB, free: 4.805 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002046/0.4154, allocations: 15.98 kB / 0.5583 GB, free: 4.789 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001345/0.4155, allocations: 39.89 kB / 0.5584 GB, free: 4.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.809e-05/0.4156, allocations: 8 kB / 0.5584 GB, free: 4.742 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001728/0.4157, allocations: 170 kB / 0.5585 GB, free: 4.578 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4158, allocations: 0 / 0.5585 GB, free: 4.578 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000551/0.4163, allocations: 123.8 kB / 0.5587 GB, free: 4.457 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(2,4), (2,4), (2,4), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000142/0.4165, allocations: 107.2 kB / 0.5588 GB, free: 4.344 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00119/0.4177, allocations: 0.7525 MB / 0.5595 GB, free: 3.539 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.4177, allocations: 4.062 kB / 0.5595 GB, free: 3.535 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001332/0.419, allocations: 0.7328 MB / 0.5602 GB, free: 2.75 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003518/0.4194, allocations: 26.75 kB / 0.5602 GB, free: 2.723 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.4205, allocations: 0.5851 MB / 0.5608 GB, free: 2.105 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003646/0.4209, allocations: 0.7717 MB / 0.5616 GB, free: 1.309 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.714e-05/0.421, allocations: 15.44 kB / 0.5616 GB, free: 1.293 MB / 414.1 MB Notification: Performance of SimCode: time 2.1e-07/0.421, allocations: 0 / 0.5616 GB, free: 1.293 MB / 414.1 MB Notification: Performance of Templates: time 0.01119/0.4322, allocations: 8.353 MB / 0.5697 GB, free: 8.938 MB / 430.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Shapes/FixedShape/FixedShape.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches