Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009783/0.0009834, allocations: 174.8 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.361/1.361, allocations: 205.4 MB / 222.9 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000816/0.0008163, allocations: 89.42 kB / 271.2 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004321/0.0004322, allocations: 8 kB / 327.5 MB, free: 15.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2635/0.264, allocations: 47.57 MB / 375.1 MB, free: 45.45 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.002859/0.2669, allocations: 3.188 MB / 378.3 MB, free: 42.93 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001984/0.2689, allocations: 1.341 MB / 379.6 MB, free: 41.86 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001863/0.2691, allocations: 8.844 kB / 379.6 MB, free: 41.86 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003378/0.2694, allocations: 131.1 kB / 379.8 MB, free: 41.76 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009464/0.2704, allocations: 470.4 kB / 380.2 MB, free: 41.41 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005857/0.271, allocations: 342 kB / 380.5 MB, free: 41.17 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003442/0.2713, allocations: 449.6 kB / 381 MB, free: 40.9 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009791/0.2723, allocations: 0.6886 MB / 381.7 MB, free: 40.39 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000245/0.2726, allocations: 182.8 kB / 381.9 MB, free: 40.29 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002209/0.2728, allocations: 240.5 kB / 382.1 MB, free: 40.15 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.457e-05/0.2729, allocations: 24.14 kB / 382.1 MB, free: 40.14 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003127/0.2732, allocations: 181.5 kB / 382.3 MB, free: 40.07 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.394e-05/0.2733, allocations: 79.33 kB / 382.4 MB, free: 40.01 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000155/0.2734, allocations: 236 kB / 382.6 MB, free: 39.84 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004128/0.2738, allocations: 0.5285 MB / 383.1 MB, free: 39.45 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.2738, allocations: 0 / 383.1 MB, free: 39.45 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2739, allocations: 0 / 383.1 MB, free: 39.45 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.2739, allocations: 0 / 383.1 MB, free: 39.45 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001611/0.2755, allocations: 0.8316 MB / 384 MB, free: 38.79 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.2755, allocations: 8.188 kB / 384 MB, free: 38.79 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003712/0.2792, allocations: 0.5977 MB / 384.6 MB, free: 38.54 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003122/0.2796, allocations: 316.5 kB / 384.9 MB, free: 38.22 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.184e-05/0.2796, allocations: 44.78 kB / 384.9 MB, free: 38.2 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.984e-05/0.2797, allocations: 53.53 kB / 385 MB, free: 38.19 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008849/0.2806, allocations: 0.5597 MB / 385.5 MB, free: 37.85 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.978e-05/0.2806, allocations: 0 / 385.5 MB, free: 37.85 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.015e-05/0.2807, allocations: 25.12 kB / 385.6 MB, free: 37.83 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.319e-05/0.2807, allocations: 14.03 kB / 385.6 MB, free: 37.83 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001018/0.2817, allocations: 0.6437 MB / 386.2 MB, free: 37.45 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002378/0.2841, allocations: 2.053 MB / 388.3 MB, free: 35.26 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001834/0.286, allocations: 3.012 MB / 391.3 MB, free: 31.69 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002946/0.2863, allocations: 219.8 kB / 391.5 MB, free: 31.48 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.745e-05/0.2864, allocations: 101.5 kB / 391.6 MB, free: 31.36 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/0.2864, allocations: 43 kB / 391.6 MB, free: 31.3 MB / 298.7 MB Notification: Performance of pre-optimization done (n=49): time 1.864e-06/0.2864, allocations: 0 / 391.6 MB, free: 31.3 MB / 298.7 MB Notification: Performance of matching and sorting (n=49): time 0.001595/0.288, allocations: 0.8128 MB / 392.4 MB, free: 30.46 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.169e-05/0.288, allocations: 55.84 kB / 392.5 MB, free: 30.4 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001458/0.2882, allocations: 208.4 kB / 392.7 MB, free: 30.19 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.537e-05/0.2882, allocations: 41.64 kB / 392.7 MB, free: 30.14 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.864e-05/0.2883, allocations: 232.1 kB / 393 MB, free: 29.91 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.329e-05/0.2884, allocations: 169.5 kB / 393.1 MB, free: 29.74 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.337e-05/0.2884, allocations: 12 kB / 393.1 MB, free: 29.73 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.423e-05/0.2885, allocations: 334.8 kB / 393.5 MB, free: 29.39 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002566/0.2888, allocations: 169 kB / 393.6 MB, free: 29.23 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002952/0.2891, allocations: 273.9 kB / 393.9 MB, free: 28.92 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005717/0.2896, allocations: 468.5 kB / 394.4 MB, free: 28.42 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.2896, allocations: 4 kB / 394.4 MB, free: 28.42 MB / 298.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0008666/0.2905, allocations: 0.5824 MB / 395 MB, free: 27.82 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.2905, allocations: 15.92 kB / 395 MB, free: 27.81 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.2906, allocations: 0 / 395 MB, free: 27.81 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003016/0.2909, allocations: 93 kB / 395.1 MB, free: 27.71 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003542/0.2912, allocations: 111.8 kB / 395.2 MB, free: 27.61 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00146/0.2927, allocations: 1.85 MB / 397 MB, free: 25.62 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002678/0.293, allocations: 55.66 kB / 397.1 MB, free: 25.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.079e-05/0.293, allocations: 23.98 kB / 397.1 MB, free: 25.55 MB / 298.7 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 (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001736/0.2932, allocations: 177.6 kB / 397.3 MB, free: 25.36 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.208e-05/0.2933, allocations: 31.62 kB / 397.3 MB, free: 25.33 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009059/0.2942, allocations: 0.5513 MB / 397.9 MB, free: 24.77 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.2942, allocations: 8 kB / 397.9 MB, free: 24.77 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.2942, allocations: 0 / 397.9 MB, free: 24.77 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.2942, allocations: 3.938 kB / 397.9 MB, free: 24.76 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001302/0.2955, allocations: 1.165 MB / 399 MB, free: 23.53 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.2955, allocations: 0 / 399 MB, free: 23.53 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002917/0.2958, allocations: 79.91 kB / 399.1 MB, free: 23.45 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002249/0.2961, allocations: 84.8 kB / 399.2 MB, free: 23.37 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.592e-05/0.2961, allocations: 15.94 kB / 399.2 MB, free: 23.35 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001276/0.2974, allocations: 1.842 MB / 401 MB, free: 21.37 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.2974, allocations: 4.031 kB / 401 MB, free: 21.37 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/0.2984, allocations: 0.7999 MB / 401.8 MB, free: 20.55 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.681e-05/0.2985, allocations: 124.6 kB / 402 MB, free: 20.41 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.702e-05/0.2985, allocations: 12 kB / 402 MB, free: 20.39 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002131/0.2988, allocations: 19.98 kB / 402 MB, free: 20.38 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.588e-05/0.2988, allocations: 32.39 kB / 402 MB, free: 20.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.267e-05/0.2989, allocations: 19.98 kB / 402.1 MB, free: 20.32 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.704e-05/0.299, allocations: 148.1 kB / 402.2 MB, free: 20.18 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.299, allocations: 0 / 402.2 MB, free: 20.18 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005284/0.2995, allocations: 151.8 kB / 402.3 MB, free: 20.03 MB / 298.7 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 (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001881/0.2997, allocations: 139.1 kB / 402.5 MB, free: 19.89 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008622/0.3006, allocations: 0.6052 MB / 403.1 MB, free: 19.27 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3006, allocations: 0 / 403.1 MB, free: 19.27 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004419/0.301, allocations: 385.6 kB / 403.5 MB, free: 18.88 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003486/0.3014, allocations: 47.48 kB / 403.5 MB, free: 18.84 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001239/0.3026, allocations: 1.091 MB / 404.6 MB, free: 17.71 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001926/0.3028, allocations: 0.8214 MB / 405.4 MB, free: 16.86 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001144/0.303, allocations: 39.42 kB / 405.5 MB, free: 16.82 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.303, allocations: 0 / 405.5 MB, free: 16.82 MB / 298.7 MB Notification: Performance of Templates: time 0.007101/0.3101, allocations: 6.541 MB / 412 MB, free: 10.29 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches