Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Ideal.v|With_Ron_Goff.v|With_Ron_Goff_Vknee.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes") translateModel(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Ideal.v|With_Ron_Goff.v|With_Ron_Goff_Vknee.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001171/0.001172, allocations: 110.6 kB / 18.4 MB, free: 4.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 186 kB / 19.34 MB, free: 3.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.287/1.287, allocations: 205.1 MB / 225.2 MB, free: 12.22 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 47.94 kB / 329.2 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07469/0.07598, allocations: 46.62 MB / 375.8 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes): time 0.004336/0.08035, allocations: 3.438 MB / 379.3 MB, free: 1.105 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001389/0.08177, allocations: 0.803 MB / 380.1 MB, free: 300 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002664/0.08207, allocations: 7.938 kB / 380.1 MB, free: 292 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002148/0.08229, allocations: 63.36 kB / 380.1 MB, free: 228 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003057/0.08261, allocations: 138.8 kB / 380.3 MB, free: 88 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1505/0.2331, allocations: 104.7 kB / 380.4 MB, free: 9.801 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007745/0.2339, allocations: 0.5013 MB / 380.9 MB, free: 9.797 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002962/0.2342, allocations: 136.5 kB / 381 MB, free: 9.777 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000368/0.2346, allocations: 190.5 kB / 381.2 MB, free: 9.762 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003252/0.2349, allocations: 206.3 kB / 381.4 MB, free: 9.715 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.486e-05/0.235, allocations: 39.88 kB / 381.4 MB, free: 9.715 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.2351, allocations: 39.38 kB / 381.5 MB, free: 9.715 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.46e-05/0.2352, allocations: 90.11 kB / 381.6 MB, free: 9.699 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000227/0.2354, allocations: 222.3 kB / 381.8 MB, free: 9.633 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005779/0.236, allocations: 496.9 kB / 382.3 MB, free: 9.551 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.236, allocations: 0.9688 kB / 382.3 MB, free: 9.551 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.123e-06/0.2361, allocations: 0.5 kB / 382.3 MB, free: 9.551 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.82e-05/0.2361, allocations: 0.5 kB / 382.3 MB, free: 9.551 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001332/0.2374, allocations: 0.7368 MB / 383 MB, free: 9.039 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.2375, allocations: 12.3 kB / 383 MB, free: 9.035 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001418/0.2376, allocations: 48.97 kB / 383.1 MB, free: 9.012 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004809/0.2381, allocations: 314.1 kB / 383.4 MB, free: 8.773 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.937e-05/0.2381, allocations: 26.38 kB / 383.4 MB, free: 8.773 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.855e-05/0.2382, allocations: 39.5 kB / 383.4 MB, free: 8.77 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006589/0.2389, allocations: 362.9 kB / 383.8 MB, free: 8.691 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.2389, allocations: 3.938 kB / 383.8 MB, free: 8.688 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.333e-05/0.2389, allocations: 10.19 kB / 383.8 MB, free: 8.688 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.808e-06/0.239, allocations: 8 kB / 383.8 MB, free: 8.688 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005642/0.2395, allocations: 269.9 kB / 384.1 MB, free: 8.684 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001893/0.2414, allocations: 1.408 MB / 385.5 MB, free: 7.902 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003965/0.2418, allocations: 226.9 kB / 385.7 MB, free: 7.875 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002039/0.242, allocations: 110.7 kB / 385.8 MB, free: 7.836 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.095e-05/0.2421, allocations: 6.094 kB / 385.8 MB, free: 7.836 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.978e-05/0.2421, allocations: 37.05 kB / 385.9 MB, free: 7.793 MB / 318.1 MB Notification: Performance of pre-optimization done (n=24): time 1.913e-06/0.2421, allocations: 0 / 385.9 MB, free: 7.793 MB / 318.1 MB Notification: Performance of matching and sorting (n=24): time 0.001413/0.2435, allocations: 0.6979 MB / 386.6 MB, free: 7.328 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.658e-05/0.2436, allocations: 53.22 kB / 386.6 MB, free: 7.266 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000301/0.2439, allocations: 307.6 kB / 386.9 MB, free: 7.102 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.2439, allocations: 31.05 kB / 386.9 MB, free: 7.066 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.767e-05/0.244, allocations: 217.2 kB / 387.2 MB, free: 6.887 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.597e-05/0.2441, allocations: 78.61 kB / 387.2 MB, free: 6.828 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.911e-05/0.2441, allocations: 50.22 kB / 387.3 MB, free: 6.793 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.143e-05/0.2442, allocations: 342.8 kB / 387.6 MB, free: 6.465 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001864/0.2444, allocations: 77.05 kB / 387.7 MB, free: 6.441 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001967/0.2446, allocations: 123.5 kB / 387.8 MB, free: 6.371 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003695/0.245, allocations: 200.4 kB / 388 MB, free: 6.266 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.245, allocations: 0 / 388 MB, free: 6.266 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006633/0.2457, allocations: 360.5 kB / 388.4 MB, free: 6.105 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.2457, allocations: 5.984 kB / 388.4 MB, free: 6.105 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.2457, allocations: 3.219 kB / 388.4 MB, free: 6.105 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004057/0.2461, allocations: 114 kB / 388.5 MB, free: 6.055 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001839/0.2463, allocations: 40.3 kB / 388.5 MB, free: 6.047 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00277/0.2491, allocations: 4.967 MB / 393.5 MB, free: 1.219 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002211/0.2493, allocations: 31.88 kB / 393.5 MB, free: 1.199 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.114e-05/0.2494, allocations: 10.44 kB / 393.5 MB, free: 1.195 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (Ideal.off,With_Ron_Goff.off,With_Ron_Goff_Vknee.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,4), (1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001296/0.2495, allocations: 146.2 kB / 393.7 MB, free: 1.062 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.769e-05/0.2496, allocations: 43.38 kB / 393.7 MB, free: 1.035 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.847e-05/0.2496, allocations: 39.42 kB / 393.7 MB, free: 1.008 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.2496, allocations: 2.078 kB / 393.7 MB, free: 1.008 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.2496, allocations: 0 / 393.7 MB, free: 1.008 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.971e-05/0.2497, allocations: 134.5 kB / 393.9 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.845e-05/0.2498, allocations: 5.062 kB / 393.9 MB, free: 0.875 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002368/0.25, allocations: 21.02 kB / 393.9 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.648e-05/0.2501, allocations: 17.73 kB / 393.9 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009243/0.251, allocations: 423.1 kB / 394.3 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006425/0.2517, allocations: 0.5037 MB / 394.8 MB, free: 340 kB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000187/0.2519, allocations: 88.39 kB / 394.9 MB, free: 308 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001951/0.2521, allocations: 221.9 kB / 395.1 MB, free: 184 kB / 318.1 MB Notification: Performance of Backend: time 3.71e-07/0.2521, allocations: 0 / 395.1 MB, free: 184 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001017/0.2531, allocations: 0.5839 MB / 395.7 MB, free: 15.71 MB / 334.1 MB Notification: Performance of SimCode: time 0.001219/0.2544, allocations: 1.155 MB / 396.9 MB, free: 14.82 MB / 334.1 MB Notification: Performance of Templates: time 0.009824/0.2642, allocations: 5.089 MB / 402 MB, free: 14.1 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CharacteristicIdealDiodes/CharacteristicIdealDiodes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches