Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.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) 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(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma|abs_y|dB_y|arg_y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma|abs_y|dB_y|arg_y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001187/0.001187, allocations: 118.8 kB / 17.78 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001273/0.001273, allocations: 201.2 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.369/1.369, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001153, allocations: 63.89 kB / 358.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2944/0.2956, allocations: 50.53 MB / 409.2 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.005879/0.3015, allocations: 3.967 MB / 413.2 MB, free: 13.6 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003259/0.3048, allocations: 1.62 MB / 414.8 MB, free: 11.97 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005908/0.3055, allocations: 12 kB / 414.8 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002501/0.308, allocations: 0.7812 MB / 415.6 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001546/0.3096, allocations: 370 kB / 416 MB, free: 10.81 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001633/0.3112, allocations: 0.673 MB / 416.6 MB, free: 10.14 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009916/0.3122, allocations: 0.537 MB / 417.2 MB, free: 9.602 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009596/0.3132, allocations: 499.9 kB / 417.7 MB, free: 9.109 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004913/0.3137, allocations: 247 kB / 417.9 MB, free: 8.867 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004537/0.3142, allocations: 290.8 kB / 418.2 MB, free: 8.582 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001254/0.3143, allocations: 52 kB / 418.2 MB, free: 8.531 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000655/0.315, allocations: 255.8 kB / 418.5 MB, free: 8.281 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001218/0.3151, allocations: 115.6 kB / 418.6 MB, free: 8.168 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002927/0.3154, allocations: 270.6 kB / 418.9 MB, free: 7.902 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00121/0.3166, allocations: 0.8034 MB / 419.7 MB, free: 7.098 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.3166, allocations: 0 / 419.7 MB, free: 7.098 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.582e-06/0.3167, allocations: 4 kB / 419.7 MB, free: 7.094 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.646e-05/0.3167, allocations: 0 / 419.7 MB, free: 7.094 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.002404/0.3191, allocations: 0.952 MB / 420.6 MB, free: 6.09 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.3191, allocations: 12.03 kB / 420.6 MB, free: 6.078 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002881/0.322, allocations: 411.9 kB / 421 MB, free: 5.676 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000756/0.3228, allocations: 364.9 kB / 421.4 MB, free: 5.285 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.822e-05/0.3229, allocations: 45.69 kB / 421.4 MB, free: 5.242 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001201/0.323, allocations: 59.94 kB / 421.5 MB, free: 5.184 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00121/0.3242, allocations: 0.6315 MB / 422.1 MB, free: 4.539 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.96e-05/0.3242, allocations: 7.844 kB / 422.1 MB, free: 4.531 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.778e-05/0.3243, allocations: 27.94 kB / 422.2 MB, free: 4.504 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.444e-05/0.3243, allocations: 16 kB / 422.2 MB, free: 4.488 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001174/0.3255, allocations: 0.5712 MB / 422.8 MB, free: 3.914 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003427/0.3289, allocations: 2.236 MB / 425 MB, free: 1.52 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001569/0.3305, allocations: 1.177 MB / 426.2 MB, free: 164 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000388/0.3309, allocations: 192.8 kB / 426.4 MB, free: 15.97 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001599/0.3311, allocations: 174.4 kB / 426.5 MB, free: 15.76 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/0.3312, allocations: 38.56 kB / 426.6 MB, free: 15.71 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 2.315e-06/0.3312, allocations: 0 / 426.6 MB, free: 15.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.001715/0.3329, allocations: 0.6863 MB / 427.3 MB, free: 15 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.71e-05/0.3329, allocations: 55.41 kB / 427.3 MB, free: 14.93 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003023/0.3333, allocations: 270.6 kB / 427.6 MB, free: 14.66 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.588e-05/0.3333, allocations: 33.64 kB / 427.6 MB, free: 14.62 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001537/0.3335, allocations: 256.1 kB / 427.9 MB, free: 14.37 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001178/0.3336, allocations: 149.8 kB / 428 MB, free: 14.22 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001346/0.3337, allocations: 86.16 kB / 428.1 MB, free: 14.13 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.3339, allocations: 346.8 kB / 428.4 MB, free: 13.78 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003434/0.3342, allocations: 151 kB / 428.6 MB, free: 13.63 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003937/0.3346, allocations: 257.9 kB / 428.8 MB, free: 13.33 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007506/0.3354, allocations: 433.7 kB / 429.3 MB, free: 12.87 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.3354, allocations: 4 kB / 429.3 MB, free: 12.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001091/0.3365, allocations: 0.518 MB / 429.8 MB, free: 12.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.3365, allocations: 8 kB / 429.8 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.938e-06/0.3365, allocations: 0 / 429.8 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002733/0.3368, allocations: 56.83 kB / 429.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004259/0.3373, allocations: 104 kB / 429.9 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001565/0.3389, allocations: 1.759 MB / 431.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003261/0.3392, allocations: 59.38 kB / 431.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.071e-05/0.3392, allocations: 27.92 kB / 431.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004335/0.3397, allocations: 265.2 kB / 432 MB, free: 9.922 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003587/0.3401, allocations: 249.6 kB / 432.3 MB, free: 9.641 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00067/0.3407, allocations: 423.7 kB / 432.7 MB, free: 9.184 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.374e-06/0.3408, allocations: 0 / 432.7 MB, free: 9.184 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.0009847/0.3417, allocations: 0.5087 MB / 433.2 MB, free: 8.664 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/0.3418, allocations: 10.75 kB / 433.2 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.3418, allocations: 4 kB / 433.2 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001826/0.342, allocations: 57.23 kB / 433.3 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003898/0.3424, allocations: 99.81 kB / 433.4 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001596/0.344, allocations: 1.763 MB / 435.1 MB, free: 6.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003006/0.3443, allocations: 35.81 kB / 435.2 MB, free: 6.555 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.344e-05/0.3444, allocations: 23.98 kB / 435.2 MB, free: 6.531 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001741/0.3445, allocations: 216.1 kB / 435.4 MB, free: 6.312 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.467e-05/0.3446, allocations: 35.56 kB / 435.4 MB, free: 6.277 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001152/0.3458, allocations: 0.4966 MB / 435.9 MB, free: 5.773 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.421e-06/0.3458, allocations: 4 kB / 435.9 MB, free: 5.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.3458, allocations: 4 kB / 435.9 MB, free: 5.766 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.3458, allocations: 3.984 kB / 435.9 MB, free: 5.762 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001727/0.3476, allocations: 1.08 MB / 437 MB, free: 4.617 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.3476, allocations: 4 kB / 437 MB, free: 4.613 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003627/0.348, allocations: 71.89 kB / 437.1 MB, free: 4.543 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001909/0.3482, allocations: 52.83 kB / 437.2 MB, free: 4.488 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.358e-05/0.3482, allocations: 8 kB / 437.2 MB, free: 4.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001618/0.3498, allocations: 1.763 MB / 438.9 MB, free: 2.578 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.3499, allocations: 12.09 kB / 438.9 MB, free: 2.566 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001347/0.3512, allocations: 0.7384 MB / 439.7 MB, free: 1.812 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000178/0.3514, allocations: 156.5 kB / 439.8 MB, free: 1.641 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.403e-05/0.3515, allocations: 8 kB / 439.8 MB, free: 1.633 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002563/0.3517, allocations: 23.98 kB / 439.9 MB, free: 1.609 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.663e-05/0.3518, allocations: 28.39 kB / 439.9 MB, free: 1.582 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.934e-05/0.3518, allocations: 16 kB / 439.9 MB, free: 1.566 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002001/0.3521, allocations: 194 kB / 440.1 MB, free: 1.379 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3521, allocations: 0 / 440.1 MB, free: 1.379 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000922/0.353, allocations: 243.1 kB / 440.3 MB, free: 1.141 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * 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 (42): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002561/0.3533, allocations: 127.2 kB / 440.5 MB, free: 1.008 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001747/0.355, allocations: 0.8959 MB / 441.4 MB, free: 88 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.355, allocations: 0 / 441.4 MB, free: 88 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006101/0.3556, allocations: 345 kB / 441.7 MB, free: 15.73 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000414/0.3561, allocations: 43.34 kB / 441.7 MB, free: 15.7 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001564/0.3576, allocations: 0.8324 MB / 442.6 MB, free: 14.84 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004081/0.3581, allocations: 0.8288 MB / 443.4 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002953/0.3584, allocations: 83.2 kB / 443.5 MB, free: 13.9 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/0.3585, allocations: 35.44 kB / 443.5 MB, free: 13.86 MB / 366.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3585, allocations: 0 / 443.5 MB, free: 13.86 MB / 366.1 MB Notification: Performance of Templates: time 0.01032/0.3688, allocations: 4.867 MB / 448.4 MB, free: 9.008 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.makefile (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesBode/SeriesBode.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches